public class IntegratedParserConfiguration extends StandardParserConfiguration
In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:
Modifier and Type | Field and Description |
---|---|
protected XMLNSDocumentScannerImpl |
fNamespaceScanner
Document scanner that does namespace binding.
|
protected XMLDTDValidator |
fNonNSDTDValidator
DTD Validator that does not bind namespaces
|
protected XMLDocumentScannerImpl |
fNonNSScanner
Default Xerces implementation of scanner
|
fSchemaValidator, GENERATE_SYNTHETIC_ANNOTATIONS, HONOUR_ALL_SCHEMALOCATIONS, ID_IDREF_CHECKING, IDENTITY_CONSTRAINT_CHECKING, IGNORE_XSI_TYPE, NAMESPACE_GROWTH, NORMALIZE_DATA, ROOT_ELEMENT_DECL, ROOT_TYPE_DEF, SCHEMA_AUGMENT_PSVI, SCHEMA_DV_FACTORY, SCHEMA_ELEMENT_DEFAULT, SCHEMA_LOCATION, SCHEMA_NONS_LOCATION, SCHEMA_VALIDATOR, TOLERATE_DUPLICATES, UNPARSED_ENTITY_CHECKING, VALIDATE_ANNOTATIONS, XMLSCHEMA_FULL_CHECKING, XMLSCHEMA_VALIDATION
ALLOW_JAVA_ENCODINGS, CONTINUE_AFTER_FATAL_ERROR, DATATYPE_VALIDATOR_FACTORY, DOCUMENT_SCANNER, DTD_PROCESSOR, DTD_SCANNER, DTD_VALIDATOR, ENTITY_MANAGER, ERROR_REPORTER, fDatatypeValidatorFactory, fDTDProcessor, fDTDScanner, fDTDValidator, fEntityManager, fErrorReporter, fGrammarPool, fInputSource, fLocator, fNamespaceBinder, fParseInProgress, fScanner, fValidationManager, JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, LOAD_EXTERNAL_DTD, LOCALE, NAMESPACE_BINDER, NOTIFY_BUILTIN_REFS, NOTIFY_CHAR_REFS, PRINT_EXCEPTION_STACK_TRACE, VALIDATION_MANAGER, WARN_ON_DUPLICATE_ATTDEF, WARN_ON_DUPLICATE_ENTITYDEF, WARN_ON_UNDECLARED_ELEMDEF, XMLGRAMMAR_POOL
ENTITY_RESOLVER, ERROR_HANDLER, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, fComponents, fDocumentHandler, fDTDContentModelHandler, fDTDHandler, fLastComponent, fLocale, fSymbolTable, NAMESPACES, SYMBOL_TABLE, VALIDATION, XML_STRING
fFeatures, fParentSettings, fProperties, fRecognizedFeatures, fRecognizedProperties, PARSER_SETTINGS
Constructor and Description |
---|
IntegratedParserConfiguration()
Default constructor.
|
IntegratedParserConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.
|
IntegratedParserConfiguration(SymbolTable symbolTable,
org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and
grammar pool.
|
IntegratedParserConfiguration(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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configurePipeline()
Configures the pipeline.
|
protected org.apache.xerces.xni.parser.XMLDocumentScanner |
createDocumentScanner()
Create a document scanner: this scanner performs namespace binding
|
protected XMLDTDValidator |
createDTDValidator()
Create a DTD validator: this validator performs namespace binding.
|
checkFeature, checkProperty
cleanup, configureDTDPipeline, createDatatypeValidatorFactory, createDTDProcessor, createDTDScanner, createEntityManager, createErrorReporter, createNamespaceBinder, createValidationManager, getProperty, parse, parse, reset, setInputSource, setLocale, setProperty
addComponent, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature
addRecognizedFeatures, addRecognizedProperties, getFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addRecognizedFeatures, addRecognizedProperties, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature
protected XMLNSDocumentScannerImpl fNamespaceScanner
protected XMLDocumentScannerImpl fNonNSScanner
protected XMLDTDValidator fNonNSDTDValidator
public IntegratedParserConfiguration()
public IntegratedParserConfiguration(SymbolTable symbolTable)
symbolTable
- The symbol table to use.public IntegratedParserConfiguration(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 IntegratedParserConfiguration(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.protected void configurePipeline()
configurePipeline
in class StandardParserConfiguration
protected org.apache.xerces.xni.parser.XMLDocumentScanner createDocumentScanner()
createDocumentScanner
in class DTDConfiguration
protected XMLDTDValidator createDTDValidator()
createDTDValidator
in class DTDConfiguration
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.