|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.xml.xpath.XPathFactory
net.sf.saxon.xpath.XPathFactoryImpl
Saxon implementation of the JAXP 1.3 XPathFactory
| Field Summary |
| Fields inherited from class javax.xml.xpath.XPathFactory |
DEFAULT_OBJECT_MODEL_URI, DEFAULT_PROPERTY_NAME |
| Constructor Summary | |
XPathFactoryImpl()
|
|
| Method Summary | |
Configuration |
getConfiguration()
Get the Configuration object |
boolean |
getFeature(java.lang.String feature)
Get a feature of this XPath implementation. |
boolean |
isObjectModelSupported(java.lang.String model)
Test whether a given object model is supported. |
protected Configuration |
makeConfiguration()
|
javax.xml.xpath.XPath |
newXPath()
Create an XPath evaluator |
void |
setFeature(java.lang.String feature,
boolean b)
Set a feature of this XPath implementation. |
void |
setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver xPathFunctionResolver)
Set a resolver for XPath functions. |
void |
setXPathVariableResolver(javax.xml.xpath.XPathVariableResolver xPathVariableResolver)
Set a resolver for XPath variables. |
| Methods inherited from class javax.xml.xpath.XPathFactory |
newInstance, newInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XPathFactoryImpl()
| Method Detail |
protected Configuration makeConfiguration()
public Configuration getConfiguration()
public boolean isObjectModelSupported(java.lang.String model)
model - The URI identifying the object model.
NamespaceConstant.OBJECT_MODEL_SAXON,
XPathConstants.DOM_OBJECT_MODEL,
NamespaceConstant.OBJECT_MODEL_JDOM, or
NamespaceConstant.OBJECT_MODEL_XOM, or
NamespaceConstant.OBJECT_MODEL_DOM4J
public void setFeature(java.lang.String feature,
boolean b)
throws javax.xml.xpath.XPathFactoryConfigurationException
XMLConstants.FEATURE_SECURE_PROCESSING FeatureKeys.SCHEMA_VALIDATION: requests schema validation of source documents.
The property is rejected if the configuration is not schema-aware.
feature - a URI identifying the featureb - true to set the feature on, false to set it off
javax.xml.xpath.XPathFactoryConfigurationException - if the feature name is not recognized
public boolean getFeature(java.lang.String feature)
throws javax.xml.xpath.XPathFactoryConfigurationException
XMLConstants.FEATURE_SECURE_PROCESSING FeatureKeys.SCHEMA_VALIDATION: requests schema validation of source documents.
feature - a URI identifying the feature
javax.xml.xpath.XPathFactoryConfigurationException - if the feature name is not recognizedpublic void setXPathVariableResolver(javax.xml.xpath.XPathVariableResolver xPathVariableResolver)
xPathVariableResolver - The object used to resolve references to variables.public void setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver xPathFunctionResolver)
xPathFunctionResolver - The object used to resolve references to external functions.public javax.xml.xpath.XPath newXPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||