org.compass.core.xml.javax
Class XPathXmlXPathExpression
java.lang.Object
org.compass.core.xml.javax.XPathXmlXPathExpression
- All Implemented Interfaces:
- XmlXPathExpression
public class XPathXmlXPathExpression
- extends Object
- implements XmlXPathExpression
A java 5 implementation of XmlXPathExpression wrapping a XPathExpression.
- 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 |
XPathXmlXPathExpression
public XPathXmlXPathExpression(XPathExpression xPathExpression)
select
public XmlObject[] select(XmlObject xmlObject)
throws Exception
- 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:
Exception
Copyright (c) 2004-2008 The Compass Project.