com.opensymphony.provider
Interface XPathProvider

All Superinterfaces:
Provider
All Known Implementing Classes:
XalanXPathProvider

public interface XPathProvider
extends Provider

Provider used for obtaining a single Node, or multiple Nodes from a DOM tree using an XPath expression.

Version:
$Revision: 1.1.1.1 $
Author:
Joe Walnes
See Also:
XMLUtils

Method Summary
 org.w3c.dom.Node getNode(org.w3c.dom.Node base, String xpath)
           
 org.w3c.dom.NodeList getNodes(org.w3c.dom.Node base, String xpath)
           
 
Methods inherited from interface com.opensymphony.provider.Provider
destroy, init
 

Method Detail

getNode

public org.w3c.dom.Node getNode(org.w3c.dom.Node base,
                                String xpath)
                         throws ProviderInvocationException
Throws:
ProviderInvocationException

getNodes

public org.w3c.dom.NodeList getNodes(org.w3c.dom.Node base,
                                     String xpath)
                              throws ProviderInvocationException
Throws:
ProviderInvocationException

OSCore Project Page