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, setChildAt
contains, getBeginColumn, getBeginLine, getEndColumn, getEndLine, getEndLocation, getEndLocationQuoted, getSource, getStartLocation, getStartLocationQuoted, getTemplate, toString
public TextBlock(String text)
public TextBlock(String text, boolean unparsed)
public void accept(Environment env) throws IOException
env
- The runtime environmentIOException
public String getCanonicalForm()
getCanonicalForm
in class TemplateObject
public String getDescription()
getDescription
in class TemplateElement