org.apache.xalan.xsltc.trax
public class SmartTransformerFactoryImpl extends SAXTransformerFactory
Constructor Summary | |
---|---|
SmartTransformerFactoryImpl()
implementation of the SmartTransformerFactory. |
Method Summary | |
---|---|
Source | getAssociatedStylesheet(Source source, String media, String title, String charset) |
Object | getAttribute(String name) |
ErrorListener | getErrorListener() |
boolean | getFeature(String name)
javax.xml.transform.sax.TransformerFactory implementation.
|
URIResolver | getURIResolver() |
Templates | newTemplates(Source source)
Create a Templates object that from the input stylesheet
Uses the org.apache.xalan.xsltc.trax.TransformerFactory. |
TemplatesHandler | newTemplatesHandler()
Get a TemplatesHandler object that can process SAX ContentHandler
events into a Templates object. |
Transformer | newTransformer()
Create a Transformer object that copies the input document to the
result. |
Transformer | newTransformer(Source source)
Create a Transformer object that from the input stylesheet
Uses the org.apache.xalan.processor.TransformerFactory. |
TransformerHandler | newTransformerHandler()
Get a TransformerHandler object that can process SAX ContentHandler
events based on a copy transformer.
|
TransformerHandler | newTransformerHandler(Source src)
Get a TransformerHandler object that can process SAX ContentHandler
events based on a transformer specified by the stylesheet Source.
|
TransformerHandler | newTransformerHandler(Templates templates)
Get a TransformerHandler object that can process SAX ContentHandler
events based on a transformer specified by the stylesheet Source.
|
XMLFilter | newXMLFilter(Source src)
Create an XMLFilter that uses the given source as the
transformation instructions. |
XMLFilter | newXMLFilter(Templates templates) |
void | setAttribute(String name, Object value) |
void | setErrorListener(ErrorListener listener) |
void | setFeature(String name, boolean value) Set a feature for this Feature names are fully qualified {@link java.net.URI}s. |
void | setURIResolver(URIResolver resolver) |
Parameters: name The feature name
Returns: 'true' if feature is supported, 'false' if not
Parameters: source the stylesheet.
Returns: A Templates object.
Returns: A Transformer object.
Parameters: source the stylesheet.
Returns: A Transformer object.
Set a feature for this SmartTransformerFactory
and Transformer
s
or Template
s created by this factory.
Feature names are fully qualified {@link java.net.URI}s.
Implementations may define their own features.
An {@link TransformerConfigurationException} is thrown if this TransformerFactory
or the
Transformer
s or Template
s 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 {@link javax.xml.transform.TransformerFactory} for full documentation of specific features.
Parameters: name Feature name. value Is feature state true
or false
.
Throws: TransformerConfigurationException if this TransformerFactory
or the Transformer
s or Template
s it creates cannot support this feature. NullPointerException If the name
parameter is null.