org.compass.core.xml
Interface XmlXPathExpression

All Known Implementing Classes:
Dom4jXmlXPathExpression, JDomXmlXPathExpression, XPathXmlXPathExpression

public interface XmlXPathExpression

A compiled representation of an xpath expression.

Author:
kimchy

Method Summary
 XmlObject[] select(XmlObject xmlObject)
          Executes the given compiled xpath expression against the given xml object.
 

Method Detail

select

XmlObject[] select(XmlObject xmlObject)
                   throws Exception
Executes the given compiled xpath expression against the given xml object.

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-2009 The Compass Project.