Class SAX1ParserAdapter

  • All Implemented Interfaces:
    org.xml.sax.Parser

    public class SAX1ParserAdapter
    extends java.lang.Object
    implements org.xml.sax.Parser
    Deprecated.
    This is a simpler adapter class that allows using SAX1 interface on top of basic SAX2 implementation, such as TagSoup.
    Author:
    Tatu Saloranta (cowtowncoder@yahoo.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      SAX1ParserAdapter​(org.xml.sax.XMLReader xr)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void parse​(java.lang.String systemId)
      Deprecated.
       
      void parse​(org.xml.sax.InputSource source)
      Deprecated.
       
      void setDocumentHandler​(org.xml.sax.DocumentHandler h)
      Deprecated. 
      void setDTDHandler​(org.xml.sax.DTDHandler h)
      Deprecated.
       
      void setEntityResolver​(org.xml.sax.EntityResolver r)
      Deprecated.
       
      void setErrorHandler​(org.xml.sax.ErrorHandler h)
      Deprecated.
       
      void setLocale​(java.util.Locale locale)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

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

      • SAX1ParserAdapter

        public SAX1ParserAdapter​(org.xml.sax.XMLReader xr)
        Deprecated.
    • Method Detail

      • parse

        public void parse​(org.xml.sax.InputSource source)
                   throws org.xml.sax.SAXException
        Deprecated.
        Specified by:
        parse in interface org.xml.sax.Parser
        Throws:
        org.xml.sax.SAXException
      • parse

        public void parse​(java.lang.String systemId)
                   throws org.xml.sax.SAXException
        Deprecated.
        Specified by:
        parse in interface org.xml.sax.Parser
        Throws:
        org.xml.sax.SAXException
      • setDocumentHandler

        public void setDocumentHandler​(org.xml.sax.DocumentHandler h)
        Deprecated.
        Specified by:
        setDocumentHandler in interface org.xml.sax.Parser
      • setDTDHandler

        public void setDTDHandler​(org.xml.sax.DTDHandler h)
        Deprecated.
        Specified by:
        setDTDHandler in interface org.xml.sax.Parser
      • setEntityResolver

        public void setEntityResolver​(org.xml.sax.EntityResolver r)
        Deprecated.
        Specified by:
        setEntityResolver in interface org.xml.sax.Parser
      • setErrorHandler

        public void setErrorHandler​(org.xml.sax.ErrorHandler h)
        Deprecated.
        Specified by:
        setErrorHandler in interface org.xml.sax.Parser
      • setLocale

        public void setLocale​(java.util.Locale locale)
                       throws org.xml.sax.SAXException
        Deprecated.
        Specified by:
        setLocale in interface org.xml.sax.Parser
        Throws:
        org.xml.sax.SAXException