public class XPathImpl
extends java.lang.Object
implements com.liferay.portal.kernel.xml.XPath
| Constructor and Description |
|---|
XPathImpl(org.dom4j.XPath xPath,
java.util.Map<java.lang.String,java.lang.String> namespaceContextMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValueOf(java.lang.Object context) |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
evaluate(java.lang.Object context) |
java.lang.String |
getText() |
org.dom4j.XPath |
getWrappedXPath() |
int |
hashCode() |
boolean |
matches(com.liferay.portal.kernel.xml.Node node) |
java.lang.Number |
numberValueOf(java.lang.Object context) |
java.util.List<com.liferay.portal.kernel.xml.Node> |
selectNodes(java.lang.Object context) |
java.util.List<com.liferay.portal.kernel.xml.Node> |
selectNodes(java.lang.Object context,
com.liferay.portal.kernel.xml.XPath sortXPath) |
java.util.List<com.liferay.portal.kernel.xml.Node> |
selectNodes(java.lang.Object context,
com.liferay.portal.kernel.xml.XPath sortXPath,
boolean distinct) |
com.liferay.portal.kernel.xml.Node |
selectSingleNode(java.lang.Object context) |
void |
sort(java.util.List<com.liferay.portal.kernel.xml.Node> nodes) |
void |
sort(java.util.List<com.liferay.portal.kernel.xml.Node> nodes,
boolean distinct) |
protected java.lang.Object |
toNewContext(java.lang.Object context) |
protected java.lang.Object |
toOldContext(java.lang.Object context) |
java.lang.String |
toString() |
java.lang.String |
valueOf(java.lang.Object context) |
public XPathImpl(org.dom4j.XPath xPath,
java.util.Map<java.lang.String,java.lang.String> namespaceContextMap)
public boolean booleanValueOf(java.lang.Object context)
booleanValueOf in interface com.liferay.portal.kernel.xml.XPathpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.Object evaluate(java.lang.Object context)
evaluate in interface com.liferay.portal.kernel.xml.XPathpublic java.lang.String getText()
getText in interface com.liferay.portal.kernel.xml.XPathpublic org.dom4j.XPath getWrappedXPath()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean matches(com.liferay.portal.kernel.xml.Node node)
matches in interface com.liferay.portal.kernel.xml.XPathpublic java.lang.Number numberValueOf(java.lang.Object context)
numberValueOf in interface com.liferay.portal.kernel.xml.XPathpublic java.util.List<com.liferay.portal.kernel.xml.Node> selectNodes(java.lang.Object context)
selectNodes in interface com.liferay.portal.kernel.xml.XPathpublic java.util.List<com.liferay.portal.kernel.xml.Node> selectNodes(java.lang.Object context,
com.liferay.portal.kernel.xml.XPath sortXPath)
selectNodes in interface com.liferay.portal.kernel.xml.XPathpublic java.util.List<com.liferay.portal.kernel.xml.Node> selectNodes(java.lang.Object context,
com.liferay.portal.kernel.xml.XPath sortXPath,
boolean distinct)
selectNodes in interface com.liferay.portal.kernel.xml.XPathpublic com.liferay.portal.kernel.xml.Node selectSingleNode(java.lang.Object context)
selectSingleNode in interface com.liferay.portal.kernel.xml.XPathpublic void sort(java.util.List<com.liferay.portal.kernel.xml.Node> nodes)
sort in interface com.liferay.portal.kernel.xml.XPathpublic void sort(java.util.List<com.liferay.portal.kernel.xml.Node> nodes,
boolean distinct)
sort in interface com.liferay.portal.kernel.xml.XPathpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String valueOf(java.lang.Object context)
valueOf in interface com.liferay.portal.kernel.xml.XPathprotected java.lang.Object toNewContext(java.lang.Object context)
protected java.lang.Object toOldContext(java.lang.Object context)