Home » freemarker-2.3.13 » freemarker.ext.dom » [javadoc | source]
class: ElementModel [javadoc | source]

All Implemented Interfaces:
    TemplateScalarModel, AdapterTemplateModel, TemplateSequenceModel, WrapperTemplateModel, TemplateHashModel, TemplateNodeModel

Fields inherited from freemarker.ext.dom.NodeModel:
logger,  xpathSupportClass,  node
 public ElementModel(Element element) 
Method from freemarker.ext.dom.ElementModel Summary:
get,   getAsString,   getNodeName,   getQualifiedName,   isEmpty,   matchesName
Methods from freemarker.ext.dom.NodeModel:
equals,   exec,   get,   get,   getAdaptedObject,   getChildNodes,   getDocumentBuilderFactory,   getDocumentNodeModel,   getNode,   getNodeNamespace,   getNodeType,   getParentNode,   getQualifiedName,   getWrappedObject,   getXPathSupport,   getXPathSupportClass,   hashCode,   mergeAdjacentText,   parse,   parse,   parse,   parse,   removeComments,   removePIs,   setDocumentBuilderFactory,   setErrorHandler,   setXPathSupportClass,   simplify,   size,   useDefaultXPathSupport,   useJaxenXPathSupport,   useSunInternalXPathSupport,   useXalanXPathSupport,   wrap
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.ext.dom.ElementModel Detail:
 public TemplateModel get(String key) throws TemplateModelException 
    An Element node supports various hash keys. Any key that corresponds to the tag name of any child elements returns a sequence of those elements. The special key "*" returns all the element's direct children. The "**" key return all the element's descendants in the order they occur in the document. Any key starting with '@' is taken to be the name of an element attribute. The special key "@@" returns a hash of all the element's attributes. The special key "/" returns the root document node associated with this element.
 public String getAsString() throws TemplateModelException 
 public String getNodeName() 
 String getQualifiedName() 
 public boolean isEmpty() 
 boolean matchesName(String name,
    Environment env)