Package freemarker.template
Interface TemplateNodeModelEx
- All Superinterfaces:
TemplateModel
,TemplateNodeModel
- All Known Implementing Classes:
NodeModel
A
TemplateNodeModel
that supports navigating to the previous and next sibling nodes.- Since:
- 2.3.26
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from interface freemarker.template.TemplateNodeModel
getChildNodes, getNodeName, getNodeNamespace, getNodeType, getParentNode
-
Method Details
-
getPreviousSibling
- Returns:
- The immediate previous sibling of this node, or
null
if there's no such node. - Throws:
TemplateModelException
-
getNextSibling
- Returns:
- The immediate next sibling of this node, or
null
if there's no such node. - Throws:
TemplateModelException
-