Nuxeo Enterprise Platform 5.4

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 java.lang.Object

Author:
Alexandre Russel

Constructor Summary
XPathUtil()
           
 
Method Summary
static java.lang.String fromIdableName(java.lang.String xpath)
           
 java.util.List<com.google.gwt.dom.client.Node> getNode(java.lang.String xpath, com.google.gwt.dom.client.Document document)
           
 java.lang.String getSelectionXPointer(Range range)
           
 int getShortLength(java.lang.String selectedText)
           
 java.lang.String getXPath(com.google.gwt.dom.client.Node node)
           
 boolean isChildOfIgnored(com.google.gwt.dom.client.Node node)
           
static java.lang.String toIdableName(java.lang.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 java.lang.String getXPath(com.google.gwt.dom.client.Node node)

getSelectionXPointer

public java.lang.String getSelectionXPointer(Range range)

getShortLength

public int getShortLength(java.lang.String selectedText)

getNode

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

isChildOfIgnored

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

toIdableName

public static java.lang.String toIdableName(java.lang.String xpath)

fromIdableName

public static java.lang.String fromIdableName(java.lang.String xpath)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.