public class EnterpriseXPathFactory extends XPathFactoryImpl
DEFAULT_OBJECT_MODEL_URI, DEFAULT_PROPERTY_NAME
Constructor and Description |
---|
EnterpriseXPathFactory()
Default constructor: this creates a Configuration as well as creating the enterprise
XPathFactory.
|
EnterpriseXPathFactory(EnterpriseConfiguration config)
Constructor using a user-supplied Configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
addSchema(Source schemaSource)
Load a schema, which will be available for use by all subsequent operations using
this TransformerFactory.
|
getConfiguration, getFeature, isObjectModelSupported, newXPath, setConfiguration, setFeature, setXPathFunctionResolver, setXPathVariableResolver
newInstance, newInstance, newInstance
public EnterpriseXPathFactory()
public EnterpriseXPathFactory(EnterpriseConfiguration config)
config
- the configuration to be used. This must be an EnterpriseConfiguration.ClassCastException
- if the supplied configuration is not schema-aware.public void addSchema(Source schemaSource) throws TransformerException
schemaSource
- the JAXP Source object identifying the schema document to be loadedTransformerException
- if the schema cannot be read or parsed or if it is invalidCopyright (c) 2004-2014 Saxonica Limited. All rights reserved.