Package | Description |
---|---|
freemarker.core |
This package contains FreeMarker's core parsing/rendering functionality;
most casual users do not need to be aware of the classes in this package,
and can restrict their attention to the
freemarker.template
package. |
freemarker.ext.dom | |
freemarker.ext.xml |
Provides data model adapter for DOM, dom4j and JDOM; three widely used XML
document object models.
|
freemarker.template |
This package contains the core API's that most users will use.
|
Modifier and Type | Method and Description |
---|---|
TemplateNodeModel |
Environment.getCurrentVisitorNode() |
TemplateNodeModel |
TemplateElement.getParentNode() |
Modifier and Type | Method and Description |
---|---|
void |
Environment.setCurrentVisitorNode(TemplateNodeModel node)
sets TemplateNodeModel as the current visitor node.
|
Modifier and Type | Class and Description |
---|---|
class |
NodeModel
A base class for wrapping a W3C DOM Node as a FreeMarker template model.
|
Modifier and Type | Method and Description |
---|---|
TemplateNodeModel |
NodeModel.getParentNode() |
Modifier and Type | Class and Description |
---|---|
class |
NodeListModel
Deprecated.
Use
NodeModel instead. |
Modifier and Type | Method and Description |
---|---|
TemplateNodeModel |
NodeListModel.getParentNode()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TemplateNodeModel |
TemplateNodeModel.getParentNode() |
Modifier and Type | Method and Description |
---|---|
void |
Template.process(Object rootMap,
Writer out,
ObjectWrapper wrapper,
TemplateNodeModel rootNode)
Processes the template, using data from the root map object, and outputs
the resulting text to the supplied writer, using the supplied
object wrapper to convert map elements to template models.
|