Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.annotations.gwt.client.util
Class XPathUtil

java.lang.Object
  extended by org.nuxeo.ecm.platform.annotations.gwt.client.util.XPathUtil

public class XPathUtil
extends Object

Author:
Alexandre Russel

Constructor Summary
XPathUtil()
           
 
Method Summary
static String fromIdableName(String xpath)
           
 List<com.google.gwt.dom.client.Node> getNode(String xpath, com.google.gwt.dom.client.Document document)
           
 String getSelectionXPointer(Range range)
           
 int getShortLength(String selectedText)
           
 String getXPath(com.google.gwt.dom.client.Node node)
           
 boolean isChildOfIgnored(com.google.gwt.dom.client.Node node)
           
static String toIdableName(String xpath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPathUtil

public XPathUtil()
Method Detail

getXPath

public String getXPath(com.google.gwt.dom.client.Node node)

getSelectionXPointer

public String getSelectionXPointer(Range range)

getShortLength

public int getShortLength(String selectedText)

getNode

public List<com.google.gwt.dom.client.Node> getNode(String xpath,
                                                    com.google.gwt.dom.client.Document document)

isChildOfIgnored

public boolean isChildOfIgnored(com.google.gwt.dom.client.Node node)

toIdableName

public static String toIdableName(String xpath)

fromIdableName

public static String fromIdableName(String xpath)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.