public class Dom2Dom extends Object
| Constructor and Description |
|---|
Dom2Dom() |
| Modifier and Type | Method and Description |
|---|---|
Node |
dom2Dom(org.dom4j.Node node,
boolean trim) |
Node |
dom2DomX(org.dom4j.Node node,
boolean trim)
Map a org.dom4j.Node to a org.w3c.dom.Node, including its ancestors
and descendents.
|
org.dom4j.Node |
getOriginalNode(Node node)
Get original dom4j Node.
|
public org.dom4j.Node getOriginalNode(Node node)
node - W3C DOM Nodedom2Dom(org.dom4j.Node, boolean)public Node dom2DomX(org.dom4j.Node node, boolean trim) throws XPathException
node - to converttrim - true if whitespace is to be trimmed from any consecutive
sequence of Text nodes; false if whitespace retainedXPathExceptiongetOriginalNode(org.w3c.dom.Node)public Node dom2Dom(org.dom4j.Node node, boolean trim) throws XPathException
XPathExceptionCopyright © 2015. All rights reserved.