Implementation of a transformer factory that uses an XSLTC
transformer factory for the creation of Templates objects
and uses the Xalan processor transformer factory for the
creation of Transformer objects.
getAssociatedStylesheet
public Source getAssociatedStylesheet(Source source,
String media,
String title,
String charset)
throws TransformerConfigurationException
getAttribute
public Object getAttribute(String name)
throws IllegalArgumentException
getErrorListener
public ErrorListener getErrorListener()
getFeature
public boolean getFeature(String name)
javax.xml.transform.sax.TransformerFactory implementation.
Look up the value of a feature (to see if it is supported).
This method must be updated as the various methods and features of this
class are implemented.
- 'true' if feature is supported, 'false' if not
getURIResolver
public URIResolver getURIResolver()
newTemplates
public Templates newTemplates(Source source)
throws TransformerConfigurationException Create a Templates object that from the input stylesheet
Uses the org.apache.xalan.xsltc.trax.TransformerFactory.
newTemplatesHandler
public TemplatesHandler newTemplatesHandler()
throws TransformerConfigurationException Get a TemplatesHandler object that can process SAX ContentHandler
events into a Templates object. Uses the
org.apache.xalan.xsltc.trax.TransformerFactory.
newTransformer
public Transformer newTransformer()
throws TransformerConfigurationException Create a Transformer object that copies the input document to the
result. Uses the org.apache.xalan.processor.TransformerFactory.
newTransformer
public Transformer newTransformer(Source source)
throws TransformerConfigurationException Create a Transformer object that from the input stylesheet
Uses the org.apache.xalan.processor.TransformerFactory.
newTransformerHandler
public TransformerHandler newTransformerHandler()
throws TransformerConfigurationException Get a TransformerHandler object that can process SAX ContentHandler
events based on a copy transformer.
Uses org.apache.xalan.processor.TransformerFactory.
newTransformerHandler
public TransformerHandler newTransformerHandler(Source src)
throws TransformerConfigurationException Get a TransformerHandler object that can process SAX ContentHandler
events based on a transformer specified by the stylesheet Source.
Uses org.apache.xalan.processor.TransformerFactory.
newTransformerHandler
public TransformerHandler newTransformerHandler(Templates templates)
throws TransformerConfigurationException Get a TransformerHandler object that can process SAX ContentHandler
events based on a transformer specified by the stylesheet Source.
Uses org.apache.xalan.xsltc.trax.TransformerFactory.
newXMLFilter
public XMLFilter newXMLFilter(Source src)
throws TransformerConfigurationException Create an XMLFilter that uses the given source as the
transformation instructions. Uses
org.apache.xalan.xsltc.trax.TransformerFactory.
newXMLFilter
public XMLFilter newXMLFilter(Templates templates)
throws TransformerConfigurationException
setAttribute
public void setAttribute(String name,
Object value)
throws IllegalArgumentException
setErrorListener
public void setErrorListener(ErrorListener listener)
throws IllegalArgumentException
setFeature
public void setFeature(String name,
boolean value)
throws TransformerConfigurationException Set a feature for this
SmartTransformerFactory and
Transformers
or
Templates created by this factory.
Feature names are fully qualified
java.net.URIs.
Implementations may define their own features.
An
TransformerConfigurationException is thrown if this
TransformerFactory or the
Transformers or
Templates it creates cannot support the feature.
It is possible for an
TransformerFactory to expose a feature value but be unable to change its state.
See
javax.xml.transform.TransformerFactory for full documentation of specific features.
name - Feature name.value - Is feature state true or false.
setURIResolver
public void setURIResolver(URIResolver resolver)