com.opensymphony.provider.xpath
Class XalanXPathProvider

java.lang.Object
  |
  +--com.opensymphony.provider.xpath.XalanXPathProvider
All Implemented Interfaces:
Provider, XPathProvider

public class XalanXPathProvider
extends java.lang.Object
implements XPathProvider

XPathProvider implementation that uses the XPath capabilities of Xalan 1.x.

Version:
$Revision: 1.1 $
Author:
Joe Walnes

Constructor Summary
XalanXPathProvider()
           
 
Method Summary
 void destroy()
          Shutdown Provider.
 org.w3c.dom.Node getNode(org.w3c.dom.Node base, java.lang.String xpath)
           
 org.w3c.dom.NodeList getNodes(org.w3c.dom.Node base, java.lang.String xpath)
           
 void init()
          Startup Provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XalanXPathProvider

public XalanXPathProvider()
Method Detail

init

public void init()
          throws ProviderConfigurationException
Description copied from interface: Provider
Startup Provider.
Specified by:
init in interface Provider
Following copied from interface: com.opensymphony.provider.Provider
Throws:
ProviderConfigurationException - thrown if error in startup or configuration.

destroy

public void destroy()
Description copied from interface: Provider
Shutdown Provider.
Specified by:
destroy in interface Provider

getNode

public org.w3c.dom.Node getNode(org.w3c.dom.Node base,
                                java.lang.String xpath)
                         throws ProviderInvocationException
Specified by:
getNode in interface XPathProvider

getNodes

public org.w3c.dom.NodeList getNodes(org.w3c.dom.Node base,
                                     java.lang.String xpath)
                              throws ProviderInvocationException
Specified by:
getNodes in interface XPathProvider

See www.opensymphony.com for more information.