If an application wants to set the ErrorHandler or EntityResolver for an XMLReader used during a transformation, it should use a URIResolver to return the SAXSource which provides (with getXMLReader) a reference to the XMLReader.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FEATURE
If |
| public static final String | FEATURE_XMLFILTER
If |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract TemplatesHandler | Returns: A non-null reference to a TransformerHandler, that may be used as a ContentHandler for SAX parse events.Get a TemplatesHandler object that can process SAX ContentHandler events into a Templates object. |
| public abstract TransformerHandler | Returns: TransformerHandler ready to transform SAX events.The Source of the transformation instructions. src)Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument. |
| public abstract TransformerHandler | Returns: TransformerHandler ready to transform SAX events.The compiled transformation instructions. templates)Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument. |
| public abstract TransformerHandler | Returns: A non-null reference to a TransformerHandler, that may be used as a ContentHandler for SAX parse events.Get a TransformerHandler object that can process SAX ContentHandler events into a Result. |
| public abstract XMLFilter | Returns: An XMLFilter object, or null if this feature is not supported.The Source of the transformation instructions. src)Create an XMLFilter that uses the given Source as the transformation instructions. |
| public abstract XMLFilter | Returns: An XMLFilter object, or null if this feature is not supported.The compiled transformation instructions. templates)Create an XMLFilter, based on the Templates argument.. |
| FEATURE | back to summary |
|---|---|
| public static final String FEATURE If | |
| FEATURE_XMLFILTER | back to summary |
|---|---|
| public static final String FEATURE_XMLFILTER If | |
| SAXTransformerFactory | back to summary |
|---|---|
| protected SAXTransformerFactory() The default constructor is protected on purpose. | |
| newTemplatesHandler | back to summary |
|---|---|
| public abstract TemplatesHandler newTemplatesHandler() throws TransformerConfigurationException Get a TemplatesHandler object that can process SAX ContentHandler events into a Templates object.
| |
| newTransformerHandler | back to summary |
|---|---|
| public abstract TransformerHandler newTransformerHandler(Source src) throws TransformerConfigurationException Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the transformation instructions specified by the argument.
| |
| newTransformerHandler | back to summary |
|---|---|
| public abstract TransformerHandler newTransformerHandler(Templates templates) throws TransformerConfigurationException Get a TransformerHandler object that can process SAX ContentHandler events into a Result, based on the Templates argument.
| |
| newTransformerHandler | back to summary |
|---|---|
| public abstract TransformerHandler newTransformerHandler() throws TransformerConfigurationException Get a TransformerHandler object that can process SAX ContentHandler events into a Result. The transformation is defined as an identity (or copy) transformation, for example to copy a series of SAX parse events into a DOM tree.
| |
| newXMLFilter | back to summary |
|---|---|
| public abstract XMLFilter newXMLFilter(Source src) throws TransformerConfigurationException Create an XMLFilter that uses the given Source as the transformation instructions.
| |
| newXMLFilter | back to summary |
|---|---|
| public abstract XMLFilter newXMLFilter(Templates templates) throws TransformerConfigurationException Create an XMLFilter, based on the Templates argument..
| |