com.liferay.portal.xml
Class XPathImpl
java.lang.Object
com.liferay.portal.xml.XPathImpl
- All Implemented Interfaces:
- XPath, Serializable
public class XPathImpl
- extends Object
- implements XPath
- See Also:
- Serialized Form
XPathImpl
public XPathImpl(org.dom4j.XPath xPath,
Map<String,String> namespaceContextMap)
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)