Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.domsync.core
Class DOMUtil

java.lang.Object
  extended by org.nuxeo.ecm.platform.domsync.core.DOMUtil

public class DOMUtil
extends Object

Author:
Max Stepanov

Method Summary
static String computeNodeXPath(Node base, Node node)
           
static String dumpTree(Node node)
           
static Node findNodeByXPath(Node base, String xpath)
           
static String getElementOuterNoChildren(Element element)
           
static Node getNodeAtPosition(Node parent, int offset)
           
static int getNodePosition(Node node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.