|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xerces.util.ParserConfigurationSettings | +--org.apache.xerces.parsers.BasicParserConfiguration | +--org.apache.xerces.parsers.StandardParserConfiguration | +--org.apache.xerces.parsers.DTDXSParserConfiguration
This is the DTD/ XML Schema parser configuration. It extends the standard configuration including XML Schema Validator in the pipeline. Note: including XML Schema validator in the pipeline will always trigger an assessment of instance document against schema.
Fields inherited from class org.apache.xerces.parsers.BasicParserConfiguration |
ENTITY_RESOLVER, ERROR_HANDLER, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, fComponents, fDocumentHandler, fDTDContentModelHandler, fDTDHandler, fLastComponent, fLocale, fSymbolTable, NAMESPACES, SYMBOL_TABLE, VALIDATION, XML_STRING |
Fields inherited from class org.apache.xerces.util.ParserConfigurationSettings |
fFeatures, fParentSettings, fProperties, fRecognizedFeatures, fRecognizedProperties |
Constructor Summary | |
DTDXSParserConfiguration()
Constructs a document parser using the default symbol table and grammar pool or the ones specified by the application (through the properties). |
|
DTDXSParserConfiguration(SymbolTable symbolTable)
Constructs a document parser using the specified symbol table. |
|
DTDXSParserConfiguration(SymbolTable symbolTable,
org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
Constructs a document parser using the specified symbol table and grammar pool. |
|
DTDXSParserConfiguration(SymbolTable symbolTable,
org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool,
org.apache.xerces.xni.parser.XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings. |
Method Summary | |
protected void |
configurePipeline()
Configures the pipeline. |
protected XMLSchemaValidator |
createSchemaValidator()
Create a Schema validator. |
Methods inherited from class org.apache.xerces.parsers.StandardParserConfiguration |
checkFeature, checkProperty, cleanup, createDatatypeValidatorFactory, createDocumentScanner, createDTDScanner, createDTDValidator, createEntityManager, createErrorReporter, createNamespaceBinder, createValidationManager, parse, parse, reset, setInputSource, setLocale |
Methods inherited from class org.apache.xerces.parsers.BasicParserConfiguration |
addComponent, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Methods inherited from class org.apache.xerces.util.ParserConfigurationSettings |
addRecognizedFeatures, addRecognizedProperties, getFeature, getProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.xerces.xni.parser.XMLParserConfiguration |
addRecognizedFeatures, addRecognizedProperties, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLocale, getProperty, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Constructor Detail |
public DTDXSParserConfiguration()
public DTDXSParserConfiguration(SymbolTable symbolTable)
symbolTable
- The symbol table to use.public DTDXSParserConfiguration(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.public DTDXSParserConfiguration(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool, org.apache.xerces.xni.parser.XMLComponentManager parentSettings)
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.parentSettings
- The parent settings.Method Detail |
protected void configurePipeline()
configurePipeline
in class StandardParserConfiguration
protected XMLSchemaValidator createSchemaValidator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |