gnu.xml.xpath

Class XPathFactoryImpl


public class XPathFactoryImpl
extends XPathFactory

GNU XPath factory implementation.

Field Summary

Fields inherited from class javax.xml.xpath.XPathFactory

DEFAULT_OBJECT_MODEL_URI, DEFAULT_PROPERTY_NAME

Method Summary

boolean
getFeature(String name)
Returns the state of the named feature.
boolean
isObjectModelSupported(String objectModel)
Indicates whether the specified object model URI is supported by this factory.
XPath
newXPath()
Returns a new XPath evaluation environment.
void
setFeature(String name, boolean value)
Sets the state of the named feature.
void
setXPathFunctionResolver(XPathFunctionResolver resolver)
Sets the XPath extension function resolver calback.
void
setXPathVariableResolver(XPathVariableResolver resolver)
Sets the XPath variable resolver calback.

Methods inherited from class javax.xml.xpath.XPathFactory

getFeature, isObjectModelSupported, newInstance, newInstance, newXPath, setFeature, setXPathFunctionResolver, setXPathVariableResolver

Method Details

getFeature

public boolean getFeature(String name)
            throws XPathFactoryConfigurationException
Returns the state of the named feature.
Overrides:
getFeature in interface XPathFactory


isObjectModelSupported

public boolean isObjectModelSupported(String objectModel)
Indicates whether the specified object model URI is supported by this factory.
Overrides:
isObjectModelSupported in interface XPathFactory


newXPath

public XPath newXPath()
Returns a new XPath evaluation environment.
Overrides:
newXPath in interface XPathFactory


setFeature

public void setFeature(String name,
                       boolean value)
            throws XPathFactoryConfigurationException
Sets the state of the named feature.
Overrides:
setFeature in interface XPathFactory


setXPathFunctionResolver

public void setXPathFunctionResolver(XPathFunctionResolver resolver)
Sets the XPath extension function resolver calback.
Overrides:
setXPathFunctionResolver in interface XPathFactory


setXPathVariableResolver

public void setXPathVariableResolver(XPathVariableResolver resolver)
Sets the XPath variable resolver calback.
Overrides:
setXPathVariableResolver in interface XPathFactory