org.apache.xerces.parsers

Class SAXParser

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,v 1.39 2005/05/04 03:56:45 mrglavas Exp $

Author: Arnaud Le Hors, IBM Andy Clark, IBM

Field Summary
protected static StringNOTIFY_BUILTIN_REFS
Feature identifier: notify built-in refereces.
protected static StringSYMBOL_TABLE
Property identifier: symbol table.
protected static StringXMLGRAMMAR_POOL
Property identifier: XML grammar pool.
Constructor Summary
SAXParser(XMLParserConfiguration config)
Constructs a SAX parser using the specified parser configuration.
SAXParser()
Constructs a SAX parser using the dtd/xml schema parser configuration.
SAXParser(SymbolTable symbolTable)
Constructs a SAX parser using the specified symbol table.
SAXParser(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a SAX parser using the specified symbol table and grammar pool.

Field Detail

NOTIFY_BUILTIN_REFS

protected static final String NOTIFY_BUILTIN_REFS
Feature identifier: notify built-in refereces.

SYMBOL_TABLE

protected static final String SYMBOL_TABLE
Property identifier: symbol table.

XMLGRAMMAR_POOL

protected static final String XMLGRAMMAR_POOL
Property identifier: XML grammar pool.

Constructor Detail

SAXParser

public SAXParser(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, XMLGrammarPool grammarPool)
Constructs a SAX parser using the specified symbol table and grammar pool.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.