Class SAXParser

All Implemented Interfaces:
org.apache.xerces.xni.XMLDocumentHandler, org.apache.xerces.xni.XMLDTDContentModelHandler, org.apache.xerces.xni.XMLDTDHandler, org.apache.xerces.xs.PSVIProvider, Parser, XMLReader
Direct Known Subclasses:
SAXParserImpl.JAXPSAXParser

public class SAXParser extends AbstractSAXParser
This is the main Xerces SAX parser class. It uses the abstract SAX parser with a document scanner, a dtd scanner, and a validator, as well as a grammar pool.
Version:
$Id: SAXParser.java 447239 2006-09-18 05:08:26Z mrglavas $
Author:
Arnaud Le Hors, IBM, Andy Clark, IBM
  • Field Details

    • NOTIFY_BUILTIN_REFS

      protected static final String NOTIFY_BUILTIN_REFS
      Feature identifier: notify built-in refereces.
      See Also:
    • SYMBOL_TABLE

      protected static final String SYMBOL_TABLE
      Property identifier: symbol table.
      See Also:
    • XMLGRAMMAR_POOL

      protected static final String XMLGRAMMAR_POOL
      Property identifier: XML grammar pool.
      See Also:
  • Constructor Details

    • SAXParser

      public SAXParser(org.apache.xerces.xni.parser.XMLParserConfiguration config)
      Constructs a SAX parser using the specified parser configuration.
    • SAXParser

      public SAXParser()
      Constructs a SAX parser using the dtd/xml schema parser configuration.
    • SAXParser

      public SAXParser(SymbolTable symbolTable)
      Constructs a SAX parser using the specified symbol table.
    • SAXParser

      public SAXParser(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
      Constructs a SAX parser using the specified symbol table and grammar pool.