APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.parsers

public Class IntegratedParserConfiguration

extends StandardParserConfiguration
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl, .XMLNSDocumentScannerImpl, com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator, .XMLNSDTDValidator, com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator, .XSMessageFormatter, com.sun.org.apache.xerces.internal.util.SymbolTable, com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool, com.sun.org.apache.xerces.internal.xni.parser.XMLComponent, .XMLComponentManager, .XMLDocumentScanner

This is configuration uses a scanner that integrates both scanning of the document and binding namespaces. If namespace feature is turned on, the pipeline is constructured with the following components: XMLNSDocumentScannerImpl -> XMLNSDTDValidator -> (optional) XMLSchemaValidator If the namespace feature is turned off the default document scanner implementation is used (XMLDocumentScannerImpl).

In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:

Author
Elena Litani, IBM

Field Summary

Modifier and TypeField 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

Inherited from com.sun.org.apache.xerces.internal.parsers.StandardParserConfiguration:
fSchemaValidatorGENERATE_SYNTHETIC_ANNOTATIONSHONOUR_ALL_SCHEMALOCATIONSID_IDREF_CHECKINGIDENTITY_CONSTRAINT_CHECKINGIGNORE_XSI_TYPENAMESPACE_GROWTHNORMALIZE_DATAROOT_ELEMENT_DECLROOT_TYPE_DEFSCHEMA_AUGMENT_PSVISCHEMA_DV_FACTORYSCHEMA_ELEMENT_DEFAULTSCHEMA_LOCATIONSCHEMA_NONS_LOCATIONSCHEMA_VALIDATORTOLERATE_DUPLICATESUNPARSED_ENTITY_CHECKINGVALIDATE_ANNOTATIONSXMLSCHEMA_FULL_CHECKINGXMLSCHEMA_VALIDATION

Constructor Summary

AccessConstructor and Description
public
IntegratedParserConfiguration()

Default constructor.

public
IntegratedParserConfiguration(SymbolTable
The symbol table to use.
symbolTable
)

Constructs a parser configuration using the specified symbol table.

public
IntegratedParserConfiguration(SymbolTable
The symbol table to use.
symbolTable
,
XMLGrammarPool
The grammar pool to use.
grammarPool
)

Constructs a parser configuration using the specified symbol table and grammar pool.

public
IntegratedParserConfiguration(SymbolTable
The symbol table to use.
symbolTable
,
XMLGrammarPool
The grammar pool to use.
grammarPool
,
XMLComponentManager
The parent settings.
parentSettings
)

Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.

Method Summary

Modifier and TypeMethod and Description
protected void
protected XMLDocumentScanner
createDocumentScanner()

Overrides com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.createDocumentScanner.

Create a document scanner: this scanner performs namespace binding

protected XMLDTDValidator
createDTDValidator()

Overrides com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.createDTDValidator.

Create a DTD validator: this validator performs namespace binding.

Inherited from com.sun.org.apache.xerces.internal.parsers.StandardParserConfiguration:
checkFeaturecheckProperty

Field Detail

fNamespaceScannerback to summary
protected XMLNSDocumentScannerImpl fNamespaceScanner

Document scanner that does namespace binding.

fNonNSDTDValidatorback to summary
protected XMLDTDValidator fNonNSDTDValidator

DTD Validator that does not bind namespaces

fNonNSScannerback to summary
protected XMLDocumentScannerImpl fNonNSScanner

Default Xerces implementation of scanner

Constructor Detail

IntegratedParserConfigurationback to summary
public IntegratedParserConfiguration()

Default constructor.

IntegratedParserConfigurationback to summary
public IntegratedParserConfiguration(SymbolTable symbolTable)

Constructs a parser configuration using the specified symbol table.

Parameters
symbolTable:SymbolTable

The symbol table to use.

IntegratedParserConfigurationback to summary
public IntegratedParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)

Constructs a parser configuration using the specified symbol table and grammar pool.

Revisit

Grammar pool will be updated when the new validation engine is implemented.

Parameters
symbolTable:SymbolTable

The symbol table to use.

grammarPool:XMLGrammarPool

The grammar pool to use.

IntegratedParserConfigurationback to summary
public IntegratedParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, 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:SymbolTable

The symbol table to use.

grammarPool:XMLGrammarPool

The grammar pool to use.

parentSettings:XMLComponentManager

The parent settings.

Method Detail

configurePipelineback to summary
protected void configurePipeline()

Overrides com.sun.org.apache.xerces.internal.parsers.StandardParserConfiguration.configurePipeline.

Configures the pipeline.

createDocumentScannerback to summary
protected XMLDocumentScanner createDocumentScanner()

Overrides com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.createDocumentScanner.

Create a document scanner: this scanner performs namespace binding

createDTDValidatorback to summary
protected XMLDTDValidator createDTDValidator()

Overrides com.sun.org.apache.xerces.internal.parsers.DTDConfiguration.createDTDValidator.

Create a DTD validator: this validator performs namespace binding.