Class AbstractSAXParser

java.lang.Object
org.htmlunit.cyberneko.xerces.parsers.AbstractXMLDocumentParser
org.htmlunit.cyberneko.xerces.parsers.AbstractSAXParser
All Implemented Interfaces:
XMLDocumentHandler, XMLReader
Direct Known Subclasses:
SAXParser

public abstract class AbstractSAXParser extends AbstractXMLDocumentParser implements XMLReader
Base class of all SAX parsers. It implements both SAX1 and SAX2 parser functionality, while the actual pipeline is defined in the parser configuration.
Author:
Arnaud Le Hors, IBM, Andy Clark, IBM, Ronald Brill
  • Field Details

    • NAMESPACES

      protected static final String NAMESPACES
      Feature identifier: namespaces.
      See Also:
    • LEXICAL_HANDLER

      protected static final String LEXICAL_HANDLER
      Property id: lexical handler.
      See Also:
    • fNamespaces

      protected boolean fNamespaces
      Namespaces.
    • fNamespacePrefixes

      protected boolean fNamespacePrefixes
      Namespace prefixes.
    • fLexicalHandlerParameterEntities

      protected boolean fLexicalHandlerParameterEntities
      Lexical handler parameter entities.
    • fStandalone

      protected boolean fStandalone
      Standalone document declaration.
    • fNamespaceContext

      protected NamespaceContext fNamespaceContext
      Namespace context.
    • fVersion

      protected String fVersion
  • Constructor Details

    • AbstractSAXParser

      protected AbstractSAXParser(XMLParserConfiguration config)
      Constructs an abstract SAX parser with the specified configuration.
      Parameters:
      config - the parser configuration
  • Method Details