Liferay 6.1.2-ce-ga3

com.liferay.portal.xml
Class XPathImpl

java.lang.Object
  extended by com.liferay.portal.xml.XPathImpl
All Implemented Interfaces:
XPath, Serializable

public class XPathImpl
extends Object
implements XPath

See Also:
Serialized Form

Constructor Summary
XPathImpl(org.dom4j.XPath xPath, Map<String,String> namespaceContextMap)
           
 
Method Summary
 boolean booleanValueOf(Object context)
           
 boolean equals(Object obj)
           
 Object evaluate(Object context)
           
 String getText()
           
 org.dom4j.XPath getWrappedXPath()
           
 int hashCode()
           
 boolean matches(Node node)
           
 Number numberValueOf(Object context)
           
 List<Node> selectNodes(Object context)
           
 List<Node> selectNodes(Object context, XPath sortXPath)
           
 List<Node> selectNodes(Object context, XPath sortXPath, boolean distinct)
           
 Node selectSingleNode(Object context)
           
 void sort(List<Node> nodes)
           
 void sort(List<Node> nodes, boolean distinct)
           
protected  Object toNewContext(Object context)
           
protected  Object toOldContext(Object context)
           
 String toString()
           
 String valueOf(Object context)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XPathImpl

public XPathImpl(org.dom4j.XPath xPath,
                 Map<String,String> namespaceContextMap)
Method Detail

booleanValueOf

public boolean booleanValueOf(Object context)
Specified by:
booleanValueOf in interface XPath

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

evaluate

public Object evaluate(Object context)
Specified by:
evaluate in interface XPath

getText

public String getText()
Specified by:
getText in interface XPath

getWrappedXPath

public org.dom4j.XPath getWrappedXPath()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

matches

public boolean matches(Node node)
Specified by:
matches in interface XPath

numberValueOf

public Number numberValueOf(Object context)
Specified by:
numberValueOf in interface XPath

selectNodes

public List<Node> selectNodes(Object context)
Specified by:
selectNodes in interface XPath

selectNodes

public List<Node> selectNodes(Object context,
                              XPath sortXPath)
Specified by:
selectNodes in interface XPath

selectNodes

public List<Node> selectNodes(Object context,
                              XPath sortXPath,
                              boolean distinct)
Specified by:
selectNodes in interface XPath

selectSingleNode

public Node selectSingleNode(Object context)
Specified by:
selectSingleNode in interface XPath

sort

public void sort(List<Node> nodes)
Specified by:
sort in interface XPath

sort

public void sort(List<Node> nodes,
                 boolean distinct)
Specified by:
sort in interface XPath

toString

public String toString()
Overrides:
toString in class Object

valueOf

public String valueOf(Object context)
Specified by:
valueOf in interface XPath

toNewContext

protected Object toNewContext(Object context)

toOldContext

protected Object toOldContext(Object context)

Liferay 6.1.2-ce-ga3