Class SAXParserImpl


  • public class SAXParserImpl
    extends javax.xml.parsers.SAXParser
    This is a simple implementation of JAXP SAXParser, to allow easier integration of TagSoup with the default JDK xml processing stack.
    Author:
    Tatu Saloranta (cowtowncoder@yahoo.com)
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SAXParserImpl()  
    • Constructor Detail

      • SAXParserImpl

        protected SAXParserImpl()
    • Method Detail

      • newInstance

        public static SAXParserImpl newInstance​(java.util.Map features)
                                         throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • getParser

        public org.xml.sax.Parser getParser()
                                     throws org.xml.sax.SAXException
        Deprecated.
        To support SAX1 interface, we'll need to use an adapter.
        Specified by:
        getParser in class javax.xml.parsers.SAXParser
        Throws:
        org.xml.sax.SAXException
      • getXMLReader

        public org.xml.sax.XMLReader getXMLReader()
        Specified by:
        getXMLReader in class javax.xml.parsers.SAXParser
      • isNamespaceAware

        public boolean isNamespaceAware()
        Specified by:
        isNamespaceAware in class javax.xml.parsers.SAXParser
      • isValidating

        public boolean isValidating()
        Specified by:
        isValidating in class javax.xml.parsers.SAXParser
      • setProperty

        public void setProperty​(java.lang.String name,
                                java.lang.Object value)
                         throws org.xml.sax.SAXNotRecognizedException,
                                org.xml.sax.SAXNotSupportedException
        Specified by:
        setProperty in class javax.xml.parsers.SAXParser
        Throws:
        org.xml.sax.SAXNotRecognizedException
        org.xml.sax.SAXNotSupportedException
      • getProperty

        public java.lang.Object getProperty​(java.lang.String name)
                                     throws org.xml.sax.SAXNotRecognizedException,
                                            org.xml.sax.SAXNotSupportedException
        Specified by:
        getProperty in class javax.xml.parsers.SAXParser
        Throws:
        org.xml.sax.SAXNotRecognizedException
        org.xml.sax.SAXNotSupportedException
      • setFeature

        public void setFeature​(java.lang.String name,
                               boolean value)
                        throws org.xml.sax.SAXNotRecognizedException,
                               org.xml.sax.SAXNotSupportedException
        Throws:
        org.xml.sax.SAXNotRecognizedException
        org.xml.sax.SAXNotSupportedException
      • getFeature

        public boolean getFeature​(java.lang.String name)
                           throws org.xml.sax.SAXNotRecognizedException,
                                  org.xml.sax.SAXNotSupportedException
        Throws:
        org.xml.sax.SAXNotRecognizedException
        org.xml.sax.SAXNotSupportedException