Class Jaxp11XMLReaderCreator

  • All Implemented Interfaces:
    XMLReaderCreator

    public class Jaxp11XMLReaderCreator
    extends java.lang.Object
    implements XMLReaderCreator
    An XMLReaderCreator that uses JAXP 1.1 to create XMLReaders. An instance of this class is not safe for concurrent access by multiple threads.
    Author:
    James Clark
    See Also:
    SAXParserFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.XMLReader createXMLReader()
      Creates a new XMLReader.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Jaxp11XMLReaderCreator

        public Jaxp11XMLReaderCreator()
        Default constructor.
    • Method Detail

      • createXMLReader

        public org.xml.sax.XMLReader createXMLReader()
                                              throws org.xml.sax.SAXException
        Description copied from interface: XMLReaderCreator
        Creates a new XMLReader.
        Specified by:
        createXMLReader in interface XMLReaderCreator
        Returns:
        a new XMLReader; never null
        Throws:
        org.xml.sax.SAXException - If an XMLReader cannot be created for any reason