Package freemarker.template.utility
Class DOMNodeModel
java.lang.Object
freemarker.template.utility.DOMNodeModel
- All Implemented Interfaces:
TemplateHashModel,TemplateModel
Deprecated.
A convenient wrapper class for wrapping a Node in the W3C DOM API.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets aTemplateModelfrom the hash.booleanisEmpty()Deprecated.
-
Constructor Details
-
DOMNodeModel
Deprecated.
-
-
Method Details
-
get
Deprecated.Description copied from interface:TemplateHashModelGets aTemplateModelfrom the hash.- Specified by:
getin interfaceTemplateHashModel- Parameters:
key- The name by which theTemplateModelis identified in the template.- Returns:
- The
TemplateModelreferred to by the key, ornullif not found. - Throws:
TemplateModelException
-
isEmpty
public boolean isEmpty()Deprecated.- Specified by:
isEmptyin interfaceTemplateHashModel
-
NodeModelinstead