public class EnterpriseTransformerFactory extends ProfessionalTransformerFactory
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(javax.xml.transform.Source schemaSource)
Load a schema, which will be available for use by all subsequent operations using
this TransformerFactory.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Allows the user to set specific attributes on the underlying
implementation.
|
getAssociatedStylesheet, getAttribute, getConfiguration, getErrorListener, getFeature, getProcessor, getURIResolver, newTemplates, newTemplates, newTemplatesHandler, newTransformer, newTransformer, newTransformerHandler, newTransformerHandler, newTransformerHandler, newXMLFilter, newXMLFilter, setConfiguration, setErrorListener, setFeature, setURIResolver
public EnterpriseTransformerFactory()
public EnterpriseTransformerFactory(EnterpriseConfiguration config)
config
- the configuration to be used. This must be an EnterpriseConfiguration.public void addSchema(javax.xml.transform.Source schemaSource) throws javax.xml.transform.TransformerException
schemaSource
- the JAXP Source object identifying the schema document to be loadedjavax.xml.transform.TransformerException
- if the schema cannot be read or parsed or if it is invalidpublic void setAttribute(java.lang.String name, java.lang.Object value) throws java.lang.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.java.lang.IllegalArgumentException
- thrown if Saxon
doesn't recognize the attribute.FeatureKeys
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.