org.apache.xerces.parsers
Class DTDXSParserConfiguration
java.lang.Object
|
+--org.apache.xerces.util.ParserConfigurationSettings
|
+--org.apache.xerces.parsers.BasicParserConfiguration
|
+--org.apache.xerces.parsers.StandardParserConfiguration
|
+--org.apache.xerces.parsers.DTDXSParserConfiguration
- public class DTDXSParserConfiguration
- extends StandardParserConfiguration
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.
- Version:
- $Id: DTDXSParserConfiguration.java,v 1.4 2001/12/13 22:59:20 elena Exp $
- Author:
- Sandy Gao, IBM
Fields inherited from class org.apache.xerces.parsers.StandardParserConfiguration |
ALLOW_JAVA_ENCODINGS,
CONTINUE_AFTER_FATAL_ERROR,
DATATYPE_VALIDATOR_FACTORY,
DOCUMENT_SCANNER,
DTD_SCANNER,
DTD_VALIDATOR,
ENTITY_MANAGER,
ERROR_REPORTER,
fDatatypeValidatorFactory,
fDTDScanner,
fDTDValidator,
fEntityManager,
fErrorReporter,
fGrammarPool,
fInputSource,
fLocator,
fNamespaceBinder,
fParseInProgress,
fScanner,
fSchemaValidator,
fValidationManager,
GRAMMAR_POOL,
LOAD_EXTERNAL_DTD,
NAMESPACE_BINDER,
NOTIFY_BUILTIN_REFS,
NOTIFY_CHAR_REFS,
SCHEMA_VALIDATOR,
VALIDATION_MANAGER,
WARN_ON_DUPLICATE_ATTDEF,
WARN_ON_UNDECLARED_ELEMDEF |
Fields inherited from class org.apache.xerces.parsers.BasicParserConfiguration |
ENTITY_RESOLVER,
ERROR_HANDLER,
EXTERNAL_GENERAL_ENTITIES,
EXTERNAL_PARAMETER_ENTITIES,
fComponents,
fDocumentHandler,
fDTDContentModelHandler,
fDTDHandler,
fLocale,
fSymbolTable,
NAMESPACES,
SYMBOL_TABLE,
VALIDATION,
XML_STRING |
Methods inherited from class org.apache.xerces.parsers.StandardParserConfiguration |
checkFeature,
checkProperty,
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DTDXSParserConfiguration
public DTDXSParserConfiguration()
- Constructs a document parser using the default symbol table and grammar
pool or the ones specified by the application (through the properties).
DTDXSParserConfiguration
public DTDXSParserConfiguration(SymbolTable symbolTable)
- Constructs a document parser using the specified symbol table.
- Parameters:
symbolTable
- The symbol table to use.
DTDXSParserConfiguration
public DTDXSParserConfiguration(SymbolTable symbolTable,
GrammarPool grammarPool)
- Constructs a document parser using the specified symbol table and
grammar pool.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
- Parameters:
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.
DTDXSParserConfiguration
public DTDXSParserConfiguration(SymbolTable symbolTable,
GrammarPool grammarPool,
org.apache.xerces.xni.parser.XMLComponentManager parentSettings)
- Constructs a parser configuration using the specified symbol table,
grammar pool, and parent settings.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
- Parameters:
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.parentSettings
- The parent settings.
configurePipeline
protected void configurePipeline()
- Configures the pipeline.
- Overrides:
- configurePipeline in class StandardParserConfiguration
createSchemaValidator
protected XMLSchemaValidator createSchemaValidator()
- Create a Schema validator.
Copyright © 1999-2001 Apache XML Project. All Rights Reserved.