org.apache.xerces.parsers
Class SAXParser

java.lang.Object
  |
  +--org.apache.xerces.parsers.XMLParser
        |
        +--org.apache.xerces.parsers.AbstractXMLDocumentParser
              |
              +--org.apache.xerces.parsers.AbstractSAXParser
                    |
                    +--org.apache.xerces.parsers.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.26 2001/12/13 22:59:20 elena Exp $
Author:
Arnaud Le Hors, IBM, Andy Clark, IBM

Inner classes inherited from class org.apache.xerces.parsers.AbstractSAXParser
AbstractSAXParser.AttributesProxy, AbstractSAXParser.LocatorProxy
 
Fields inherited from class org.apache.xerces.parsers.AbstractSAXParser
fContentHandler, fDeclHandler, fDocumentHandler, fDTDHandler, fLexicalHandler, fNamespacePrefixes, fNamespaces, fParseInProgress, fQName, NAMESPACE_PREFIXES, NAMESPACES, SYMBOL_TABLE
 
Fields inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
fInDTD
 
Fields inherited from class org.apache.xerces.parsers.XMLParser
ENTITY_RESOLVER, ERROR_HANDLER, fConfiguration
 
Constructor Summary
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, GrammarPool grammarPool)
          Constructs a SAX parser using the specified symbol table and grammar pool.
SAXParser(org.apache.xerces.xni.parser.XMLParserConfiguration config)
          Constructs a SAX parser using the specified parser configuration.
 
Methods inherited from class org.apache.xerces.parsers.AbstractSAXParser
attributeDecl, characters, comment, comment, doctypeDecl, elementDecl, endCDATA, endDocument, endDTD, endElement, endEntity, endEntity, endPrefixMapping, externalEntityDecl, getContentHandler, getDeclHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLexicalHandler, getProperty, ignorableWhitespace, internalEntityDecl, notationDecl, parse, parse, processingInstruction, processingInstruction, reset, setContentHandler, setDeclHandler, setDocumentHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setLexicalHandler, setLocale, setProperty, startCDATA, startDocument, startElement, startEntity, startEntity, startPrefixMapping, unparsedEntityDecl
 
Methods inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
any, characters, element, empty, emptyElement, endAttlist, endConditional, endContentModel, endGroup, occurrence, pcdata, separator, startAttlist, startConditional, startContentModel, startDTD, startGroup, textDecl, textDecl, xmlDecl
 
Methods inherited from class org.apache.xerces.parsers.XMLParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAXParser

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

SAXParser

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

SAXParser

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

SAXParser

public SAXParser(SymbolTable symbolTable,
                 GrammarPool grammarPool)
Constructs a SAX parser using the specified symbol table and grammar pool.


Copyright © 1999-2001 Apache XML Project. All Rights Reserved.