net.sf.saxon.xpath
public class XPathFactoryImpl extends XPathFactory
| Constructor Summary | |
|---|---|
| XPathFactoryImpl() | |
| Method Summary | |
|---|---|
| Configuration | getConfiguration()
Get the Configuration object |
| boolean | getFeature(String feature)
Get a feature of this XPath implementation. |
| boolean | isObjectModelSupported(String model)
Test whether a given object model is supported. |
| protected Configuration | makeConfiguration() |
| XPath | newXPath()
Create an XPath evaluator |
| void | setFeature(String feature, boolean b)
Set a feature of this XPath implementation. |
| void | setXPathFunctionResolver(XPathFunctionResolver xPathFunctionResolver)
Set a resolver for XPath functions. |
| void | setXPathVariableResolver(XPathVariableResolver xPathVariableResolver)
Set a resolver for XPath variables. |
Parameters: feature a URI identifying the feature
Returns: true if the feature is on, false if it is off
Throws: XPathFactoryConfigurationException if the feature name is not recognized
Parameters: model The URI identifying the object model.
Returns: true if the object model is one of OBJECT_MODEL_SAXON, XPathConstants#DOM_OBJECT_MODEL, OBJECT_MODEL_JDOM, or OBJECT_MODEL_XOM
Returns: an XPath object, which can be used to compile and execute XPath expressions.
Parameters: feature a URI identifying the feature b true to set the feature on, false to set it off
Throws: XPathFactoryConfigurationException if the feature name is not recognized
Parameters: xPathFunctionResolver The object used to resolve references to external functions.
Parameters: xPathVariableResolver The object used to resolve references to variables.