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.1.1 $
- Author:
- Joe Walnes
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 |
XalanXPathProvider
public XalanXPathProvider()
getNode
public org.w3c.dom.Node getNode(org.w3c.dom.Node base,
java.lang.String xpath)
throws ProviderInvocationException
- Specified by:
getNode
in interface XPathProvider
- Throws:
ProviderInvocationException
getNodes
public org.w3c.dom.NodeList getNodes(org.w3c.dom.Node base,
java.lang.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.