public class XPathUtil extends Object
Constructor and Description |
---|
XPathUtil() |
Modifier and Type | Method and Description |
---|---|
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) |
public XPathUtil()
public String getSelectionXPointer(Range range)
public int getShortLength(String selectedText)
public List<com.google.gwt.dom.client.Node> getNode(String xpath, com.google.gwt.dom.client.Document document)
public boolean isChildOfIgnored(com.google.gwt.dom.client.Node node)
public static String toIdableName(String xpath)
public static String fromIdableName(String xpath)
Copyright © 2018 Nuxeo. All rights reserved.