public final class TextBlock extends TemplateElement
Constructor and Description |
---|
TextBlock(java.lang.String text) |
TextBlock(java.lang.String text,
boolean unparsed) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Environment env)
Simply outputs the text.
|
java.lang.String |
getCanonicalForm() |
java.lang.String |
getDescription() |
children, getAllowsChildren, getChildAt, getChildCount, getChildNodes, getIndex, getNodeName, getNodeNamespace, getNodeType, getParent, getParentNode, isLeaf, setChildAt
contains, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getEndLocation, getEndLocationQuoted, getSource, getStartLocation, getStartLocationQuoted, getTemplate, toString
public TextBlock(java.lang.String text)
public TextBlock(java.lang.String text, boolean unparsed)
public void accept(Environment env) throws java.io.IOException
env
- The runtime environmentjava.io.IOException
public java.lang.String getCanonicalForm()
getCanonicalForm
in class TemplateObject
public java.lang.String getDescription()
getDescription
in class TemplateElement