Top Description Fields Constructors Methods
org.apache.xerces.parsers

public Class SAXParser

extends AbstractSAXParser
Class Inheritance
Known Direct Subclasses
org.apache.xerces.jaxp.SAXParserImpl.JAXPSAXParser
Imports
org.apache.xerces.impl.Constants, org.apache.xerces.util.SymbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool, org.apache.xerces.xni.parser.XMLParserConfiguration

Deprecated

as a consequence of AbstractSAXParser being deprecated. See corresponding docs for further information.

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.
Authors
Arnaud Le Hors, IBM, Andy Clark, IBM
Version
$Id: SAXParser.java 447239 2006-09-18 05:08:26Z mrglavas $

Field Summary

Modifier and TypeField and Description
protected static final String
NOTIFY_BUILTIN_REFS

Feature identifier: notify built-in refereces.

private static final String[]
private static final String[]
protected static final String
SYMBOL_TABLE

Property identifier: symbol table.

protected static final String
XMLGRAMMAR_POOL

Property identifier: XML grammar pool.

Inherited from org.apache.xerces.parsers.AbstractSAXParser:
ALLOW_UE_AND_NOTATION_EVENTSDECLARATION_HANDLERDOM_NODEfContentHandlerfDeclaredAttrsfDeclHandlerfDocumentHandlerfDTDHandlerfLexicalHandlerfLexicalHandlerParameterEntitiesfNamespaceContextfNamespacePrefixesfNamespacesfParseInProgressfQNamefResolveDTDURIsfStandalonefUseEntityResolver2fVersionfXMLNSURIsLEXICAL_HANDLERNAMESPACESSTRING_INTERNING

Constructor Summary

AccessConstructor and Description
public
SAXParser(XMLParserConfiguration config)

Constructs a SAX parser using the specified parser configuration.

public
SAXParser()

Constructs a SAX parser using the dtd/xml schema parser configuration.

public
SAXParser(SymbolTable symbolTable)

Constructs a SAX parser using the specified symbol table.

public
SAXParser(SymbolTable symbolTable, XMLGrammarPool grammarPool)

Constructs a SAX parser using the specified symbol table and grammar pool.

Method Summary

Inherited from org.apache.xerces.parsers.AbstractSAXParser:
attributeDeclcharacterscommentdoctypeDeclelementDeclendCDATAendDocumentendDTDendElementendExternalSubsetendGeneralEntityendNamespaceMappingendParameterEntityexternalEntityDeclgetAttributePSVIgetAttributePSVIByNamegetContentHandlergetDeclHandlergetDTDHandlergetElementPSVIgetEntityResolvergetErrorHandlergetFeaturegetLexicalHandlergetPropertyignorableWhitespaceinternalEntityDeclnotationDeclparseparseprocessingInstructionresetsetContentHandlersetDeclHandlersetDocumentHandlersetDTDHandlersetEntityResolversetErrorHandlersetFeaturesetLexicalHandlersetLocalesetPropertystartCDATAstartDocumentstartElementstartExternalSubsetstartGeneralEntitystartNamespaceMappingstartParameterEntityunparsedEntityDeclxmlDecl

Field Detail

NOTIFY_BUILTIN_REFSback to summary
protected static final String NOTIFY_BUILTIN_REFS

Feature identifier: notify built-in refereces.

RECOGNIZED_FEATURESback to summary
private static final String[] RECOGNIZED_FEATURES

Hides org.apache.xerces.parsers.AbstractSAXParser.RECOGNIZED_FEATURES.

Recognized features.

RECOGNIZED_PROPERTIESback to summary
private static final String[] RECOGNIZED_PROPERTIES

Hides org.apache.xerces.parsers.AbstractSAXParser.RECOGNIZED_PROPERTIES.

Recognized properties.

SYMBOL_TABLEback to summary
protected static final String SYMBOL_TABLE

Property identifier: symbol table.

XMLGRAMMAR_POOLback to summary
protected static final String XMLGRAMMAR_POOL

Property identifier: XML grammar pool.

Constructor Detail

SAXParserback to summary
public SAXParser(XMLParserConfiguration config)

Constructs a SAX parser using the specified parser configuration.

SAXParserback to summary
public SAXParser()

Constructs a SAX parser using the dtd/xml schema parser configuration.

SAXParserback to summary
public SAXParser(SymbolTable symbolTable)

Constructs a SAX parser using the specified symbol table.

SAXParserback to summary
public SAXParser(SymbolTable symbolTable, XMLGrammarPool grammarPool)

Constructs a SAX parser using the specified symbol table and grammar pool.