freemarker.core
public final class TextBlock extends TemplateElement
| Constructor and Description |
|---|
TextBlock(String text) |
TextBlock(String text,
boolean unparsed) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Environment env)
Simply outputs the text.
|
String |
getCanonicalForm() |
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(String text)
public TextBlock(String text, boolean unparsed)
public void accept(Environment env) throws IOException
env - The runtime environmentIOExceptionpublic String getCanonicalForm()
getCanonicalForm in class TemplateObjectpublic String getDescription()
getDescription in class TemplateElement