Module java.xml

Class SAXTransformerFactory


  • public abstract class SAXTransformerFactory
    extends TransformerFactory
    This class extends TransformerFactory to provide SAX-specific factory methods. It provides two types of ContentHandlers, one for creating Transformers, the other for creating Templates objects.

    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.

    Since:
    1.4