org.compass.core.xml.jdom
Class JDomXmlXPathExpression
java.lang.Object
org.compass.core.xml.jdom.JDomXmlXPathExpression
- All Implemented Interfaces:
- XmlXPathExpression
public class JDomXmlXPathExpression
- extends Object
- implements XmlXPathExpression
A JDOM (http://www.jdom.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 |
JDomXmlXPathExpression
public JDomXmlXPathExpression(org.jdom.xpath.XPath xpath)
select
public XmlObject[] select(XmlObject xmlObject)
throws org.jdom.JDOMException
- 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
- Throws:
org.jdom.JDOMException
Copyright (c) 2004-2008 The Compass Project.