org.nuxeo.ecm.platform.domsync.core
Class DOMUtil
java.lang.Object
org.nuxeo.ecm.platform.domsync.core.DOMUtil
public class DOMUtil
- extends java.lang.Object
- Author:
- Max Stepanov
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
computeNodeXPath
public static java.lang.String computeNodeXPath(org.w3c.dom.Node base,
org.w3c.dom.Node node)
findNodeByXPath
public static org.w3c.dom.Node findNodeByXPath(org.w3c.dom.Node base,
java.lang.String xpath)
getNodeAtPosition
public static org.w3c.dom.Node getNodeAtPosition(org.w3c.dom.Node parent,
int offset)
getNodePosition
public static int getNodePosition(org.w3c.dom.Node node)
getElementOuterNoChildren
public static java.lang.String getElementOuterNoChildren(org.w3c.dom.Element element)
dumpTree
public static java.lang.String dumpTree(org.w3c.dom.Node node)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.