FileDocCategorySizeDatePackage
XMLDocumentParser.javaAPI DocJava SE 6 API3298Tue Jun 10 00:22:50 BST 2008com.sun.org.apache.xerces.internal.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,v 1.2.6.1 2005/09/07 07:45:11 sunithareddy Exp $

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

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

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

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

        super((XMLParserConfiguration)ObjectFactory.createObject(
            "com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration",
            "com.sun.org.apache.xerces.internal.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