org.nuxeo.ecm.platform.annotations.gwt.client.util
Class XPathUtil
java.lang.Object
org.nuxeo.ecm.platform.annotations.gwt.client.util.XPathUtil
public class XPathUtil
- extends Object
- Author:
- Alexandre Russel
XPathUtil
public XPathUtil()
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)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.