org.nuxeo.ecm.platform.domsync.core
Class DOMUtil
java.lang.Object
org.nuxeo.ecm.platform.domsync.core.DOMUtil
public class DOMUtil
- extends Object
- Author:
- Max Stepanov
computeNodeXPath
public static String computeNodeXPath(Node base,
Node node)
findNodeByXPath
public static Node findNodeByXPath(Node base,
String xpath)
getNodeAtPosition
public static Node getNodeAtPosition(Node parent,
int offset)
getNodePosition
public static int getNodePosition(Node node)
getElementOuterNoChildren
public static String getElementOuterNoChildren(Element element)
dumpTree
public static String dumpTree(Node node)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.