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