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
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets aTemplateModel
from the hash.boolean
isEmpty()
Deprecated.
-
Constructor Details
-
DOMNodeModel
Deprecated.
-
-
Method Details
-
get
Deprecated.Description copied from interface:TemplateHashModel
Gets aTemplateModel
from the hash.- Specified by:
get
in interfaceTemplateHashModel
- Parameters:
key
- The name by which theTemplateModel
is identified in the template.- Returns:
- The
TemplateModel
referred to by the key, ornull
if not found. - Throws:
TemplateModelException
-
isEmpty
public boolean isEmpty()Deprecated.- Specified by:
isEmpty
in interfaceTemplateHashModel
-
NodeModel
instead