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, setChildAtcontains, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getEndLocation, getEndLocationQuoted, getSource, getStartLocation, getStartLocationQuoted, getTemplate, toStringpublic 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.IOExceptionpublic java.lang.String getCanonicalForm()
getCanonicalForm in class TemplateObjectpublic java.lang.String getDescription()
getDescription in class TemplateElement