public abstract class AbstractRenderer extends Object
AbstractRenderer is basic class for all renderers used by Translator to create output text from
AbstractNodes tree in final translation phase.| Modifier and Type | Field and Description |
|---|---|
protected String |
end |
protected Properties |
properties |
protected String |
start |
| Constructor and Description |
|---|
AbstractRenderer() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
renderTextFromNode(AbstractNode node,
Translator translator)
This method produces output text by using data from the node and by using a reference to the
(for subnodes rendereing) |
void |
setEnd(String end) |
void |
setProperties(Properties properties) |
void |
setStart(String start) |
protected String start
protected String end
protected Properties properties
public void setEnd(String end)
public void setStart(String start)
public abstract String renderTextFromNode(AbstractNode node, Translator translator)
Translator (for subnodes rendereing)node - translator - public void setProperties(Properties properties)
Copyright © 2017 SAP SE. All Rights Reserved.