freemarker.core
public abstract class TemplateElement extends TemplateObject implements TreeNode
Constructor and Description |
---|
TemplateElement() |
Modifier and Type | Method and Description |
---|---|
Enumeration |
children() |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
TemplateSequenceModel |
getChildNodes() |
abstract String |
getDescription() |
int |
getIndex(TreeNode node) |
String |
getNodeName() |
String |
getNodeNamespace() |
String |
getNodeType() |
TreeNode |
getParent() |
TemplateNodeModel |
getParentNode() |
boolean |
isLeaf() |
void |
setChildAt(int index,
TemplateElement element) |
contains, getBeginColumn, getBeginLine, getCanonicalForm, getEndColumn, getEndLine, getEndLocation, getEndLocationQuoted, getSource, getStartLocation, getStartLocationQuoted, getTemplate, toString
public abstract String getDescription()
public TemplateNodeModel getParentNode()
public String getNodeNamespace()
public String getNodeType()
public TemplateSequenceModel getChildNodes()
public String getNodeName()
public boolean getAllowsChildren()
getAllowsChildren
in interface TreeNode
public int getChildCount()
getChildCount
in interface TreeNode
public Enumeration children()
public TreeNode getChildAt(int index)
getChildAt
in interface TreeNode
public void setChildAt(int index, TemplateElement element)