public class EnterpriseTransformerFactory extends ProfessionalTransformerFactory
FEATURE, FEATURE_XMLFILTER
Constructor and Description |
---|
EnterpriseTransformerFactory()
Create an EnterpriseTransformerFactory.
|
EnterpriseTransformerFactory(EnterpriseConfiguration config)
Construct a TransformerFactory using an existing 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.
|
void |
setAttribute(String name,
Object value)
Allows the user to set specific attributes on the underlying
implementation.
|
getAssociatedStylesheet, getAttribute, getConfiguration, getErrorListener, getFeature, getURIResolver, newTemplates, newTemplates, newTemplatesHandler, newTransformer, newTransformer, newTransformerHandler, newTransformerHandler, newTransformerHandler, newXMLFilter, newXMLFilter, setConfiguration, setErrorListener, setFeature, setURIResolver
newInstance, newInstance
public EnterpriseTransformerFactory()
public EnterpriseTransformerFactory(EnterpriseConfiguration config)
config
- the configuration to be used. This must be an EnterpriseConfiguration.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 invalidpublic void setAttribute(String name, Object value) throws IllegalArgumentException
setAttribute
in class ProfessionalTransformerFactory
name
- The name of the attribute. This must be one of the constants
defined in class FeatureKeys
.value
- The value of the attribute.IllegalArgumentException
- thrown if Saxon
doesn't recognize the attribute.FeatureKeys
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.