org.compass.core.xml.dom4j
Class Dom4jXmlXPathExpression
java.lang.Object
org.compass.core.xml.dom4j.Dom4jXmlXPathExpression
- All Implemented Interfaces:
- XmlXPathExpression
public class Dom4jXmlXPathExpression
- extends Object
- implements XmlXPathExpression
A dom4j (http://www.dom4j.org) implementation of XmlXPathExpression.
- Author:
- kimchy
|
Method Summary |
XmlObject[] |
select(XmlObject xmlObject)
Executes the given compiled xpath expression against the given xml object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Dom4jXmlXPathExpression
public Dom4jXmlXPathExpression(XPath xpath)
select
public XmlObject[] select(XmlObject xmlObject)
- Description copied from interface:
XmlXPathExpression
- Executes the given compiled xpath expression against the given xml object.
- Specified by:
select in interface XmlXPathExpression
- Parameters:
xmlObject - The xml object to execute the compiled xpath expression against
- Returns:
- A list of xml objects matching the given compiled xpath expression
Copyright (c) 2004-2008 The Compass Project.