FileDocCategorySizeDatePackage
XMLDocumentParser.javaAPI DocApache Xerces 3.0.13367Fri Sep 14 20:33:54 BST 2007org.apache.xerces.parsers

XMLDocumentParser

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

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

        super((XMLParserConfiguration)ObjectFactory.createObject(
            "org.apache.xerces.xni.parser.XMLParserConfiguration",
            "org.apache.xerces.parsers.XIncludeAwareParserConfiguration"
            ));
    
public XMLDocumentParser(org.apache.xerces.xni.parser.XMLParserConfiguration config)
Constructs a document parser using the specified parser configuration.

        super(config);
    
public XMLDocumentParser(org.apache.xerces.util.SymbolTable symbolTable)
Constructs a document parser using the specified symbol table.

        super((XMLParserConfiguration)ObjectFactory.createObject(
            "org.apache.xerces.xni.parser.XMLParserConfiguration",
            "org.apache.xerces.parsers.XIncludeAwareParserConfiguration"
            ));
        fConfiguration.setProperty(Constants.XERCES_PROPERTY_PREFIX+Constants.SYMBOL_TABLE_PROPERTY, symbolTable);
    
public XMLDocumentParser(org.apache.xerces.util.SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
Constructs a document parser using the specified symbol table and grammar pool.

        super((XMLParserConfiguration)ObjectFactory.createObject(
            "org.apache.xerces.xni.parser.XMLParserConfiguration",
            "org.apache.xerces.parsers.XIncludeAwareParserConfiguration"
            ));
        fConfiguration.setProperty(Constants.XERCES_PROPERTY_PREFIX+Constants.SYMBOL_TABLE_PROPERTY, symbolTable);
        fConfiguration.setProperty(Constants.XERCES_PROPERTY_PREFIX+Constants.XMLGRAMMAR_POOL_PROPERTY, grammarPool);
    
Methods Summary