freemarker.ext.jdom
Class NodeListModel

java.lang.Object
  |
  +--freemarker.ext.jdom.NodeListModel
All Implemented Interfaces:
TemplateCollectionModel, TemplateHashModel, TemplateMethodModel, TemplateModel, TemplateScalarModel, TemplateSequenceModel

public class NodeListModel
extends java.lang.Object
implements TemplateHashModel, TemplateMethodModel, TemplateCollectionModel, TemplateSequenceModel, TemplateScalarModel

Provides a template for wrapping JDOM objects. It is capable of storing not only a single JDOM node, but a list of JDOM nodes at once (hence the name). Each node is an instance of any of the core JDOM node classes (except namespaces, which are not supported at the moment), or String for representing text. See individual method documentation for exact details on how the class works. In short: