com.opensymphony.provider.xpath
Class XalanXPathProvider

java.lang.Object
  extended bycom.opensymphony.provider.xpath.XalanXPathProvider
All Implemented Interfaces:
Provider, XPathProvider

public class XalanXPathProvider
extends Object
implements XPathProvider

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

Version:
$Revision: 1.1.1.1 $
Author:
Joe Walnes

Constructor Summary
XalanXPathProvider()
           
 
Method Summary
 void destroy()
          Shutdown Provider.
 org.w3c.dom.Node getNode(org.w3c.dom.Node base, String xpath)
           
 org.w3c.dom.NodeList getNodes(org.w3c.dom.Node base, 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

getNode

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

getNodes

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

destroy

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

Specified by:
destroy in interface Provider

init

public void init()
          throws ProviderConfigurationException
Description copied from interface: Provider
Startup Provider.

Specified by:
init in interface Provider
Throws:
ProviderConfigurationException - thrown if error in startup or configuration.

OSCore Project Page