org.apache.xerces.parsers
Class XMLDocumentParser

java.lang.Object
  extended by org.apache.xerces.parsers.XMLParser
      extended by org.apache.xerces.parsers.AbstractXMLDocumentParser
          extended by org.apache.xerces.parsers.XMLDocumentParser
All Implemented Interfaces:
XMLDocumentHandler, XMLDTDContentModelHandler, XMLDTDHandler

public class XMLDocumentParser
extends AbstractXMLDocumentParser

This is a concrete vanilla XML parser class. It uses the abstract parser with either a BasicConfiguration object or the one specified by the application.

Version:
$Id: XMLDocumentParser.java 447239 2006-09-18 05:08:26Z mrglavas $
Author:
Arnaud Le Hors, IBM, Andy Clark, IBM

Field Summary
 
Fields inherited from interface org.apache.xerces.xni.XMLDTDHandler
CONDITIONAL_IGNORE, CONDITIONAL_INCLUDE
 
Fields inherited from interface org.apache.xerces.xni.XMLDTDContentModelHandler
OCCURS_ONE_OR_MORE, OCCURS_ZERO_OR_MORE, OCCURS_ZERO_OR_ONE, SEPARATOR_CHOICE, SEPARATOR_SEQUENCE
 
Constructor Summary
XMLDocumentParser()
          Constructs a document parser using the default basic parser configuration.
XMLDocumentParser(SymbolTable symbolTable)
          Constructs a document parser using the specified symbol table.
XMLDocumentParser(SymbolTable symbolTable, XMLGrammarPool grammarPool)
          Constructs a document parser using the specified symbol table and grammar pool.
XMLDocumentParser(XMLParserConfiguration config)
          Constructs a document parser using the specified parser configuration.
 
Method Summary
 
Methods inherited from class org.apache.xerces.parsers.AbstractXMLDocumentParser
any, attributeDecl, characters, comment, doctypeDecl, element, elementDecl, empty, emptyElement, endAttlist, endCDATA, endConditional, endContentModel, endDocument, endDTD, endElement, endExternalSubset, endGeneralEntity, endGroup, endParameterEntity, externalEntityDecl, getDocumentSource, getDTDContentModelSource, getDTDSource, ignorableWhitespace, ignoredCharacters, internalEntityDecl, notationDecl, occurrence, pcdata, processingInstruction, separator, setDocumentSource, setDTDContentModelSource, setDTDSource, startAttlist, startCDATA, startConditional, startContentModel, startDocument, startDTD, startElement, startExternalSubset, startGeneralEntity, startGroup, startParameterEntity, textDecl, unparsedEntityDecl, xmlDecl
 
Methods inherited from class org.apache.xerces.parsers.XMLParser
parse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLDocumentParser

public XMLDocumentParser()
Constructs a document parser using the default basic parser configuration.


XMLDocumentParser

public XMLDocumentParser(XMLParserConfiguration config)
Constructs a document parser using the specified parser configuration.


XMLDocumentParser

public XMLDocumentParser(SymbolTable symbolTable)
Constructs a document parser using the specified symbol table.


XMLDocumentParser

public XMLDocumentParser(SymbolTable symbolTable,
                         XMLGrammarPool grammarPool)
Constructs a document parser using the specified symbol table and grammar pool.