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 String getXPath(com.google.gwt.dom.client.Node node)
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)
Copyright © 2015 Nuxeo SA. All rights reserved.