XMLDocumentParserpublic 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. |
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);
|
|