Package | Description |
---|---|
freemarker.ext.dom |
Exposes DOM XML nodes to templates as easily traversable trees;
see in the Manual.
|
Modifier and Type | Method and Description |
---|---|
static NodeModel |
NodeModel.parse(java.io.File f)
Same as
parse(source, true, true) , but loads from a File ;
don't miss the security warnings documented there. |
static NodeModel |
NodeModel.parse(java.io.File f,
boolean removeComments,
boolean removePIs)
Same as
parse(InputSource, boolean, boolean) , but loads from a File ; don't miss the security
warnings documented there. |
static NodeModel |
NodeModel.parse(org.xml.sax.InputSource is)
Same as
parse(is, true, true) ; don't miss the security warnings
documented there. |
static NodeModel |
NodeModel.parse(org.xml.sax.InputSource is,
boolean removeComments,
boolean removePIs)
Convenience method to create a
NodeModel from a SAX InputSource ; please see the security warning
further down. |
static NodeModel |
NodeModel.wrap(org.w3c.dom.Node node) |