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

public Class XIncludeParserConfiguration

extends XML11Configuration
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.impl.Constants, com.sun.org.apache.xerces.internal.util.SymbolTable, com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler, .XIncludeNamespaceSupport, com.sun.org.apache.xerces.internal.xni.XMLDocumentHandler, com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool, com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager, .XMLConfigurationException, .XMLDocumentSource

This parser configuration includes an XIncludeHandler in the pipeline before the schema validator, or as the last component in the pipeline if there is no schema validator. Using this pipeline will enable processing according to the XML Inclusions specification, to the conformance level described in XIncludeHandler.
Author
Peter McCracken, IBM
See Also
com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler

Field Summary

Modifier and TypeField and Description
protected static final String
ALLOW_UE_AND_NOTATION_EVENTS

Feature identifier: allow notation and unparsed entity events to be sent out of order.

private XIncludeHandler
protected static final String
NAMESPACE_CONTEXT

Property identifier: error reporter.

protected static final String
XINCLUDE_FIXUP_BASE_URIS

Feature identifier: fixup base URIs.

protected static final String
XINCLUDE_FIXUP_LANGUAGE

Feature identifier: fixup language.

protected static final String
XINCLUDE_HANDLER

Property identifier: error reporter.

Inherited from com.sun.org.apache.xerces.internal.parsers.XML11Configuration:
ALLOW_JAVA_ENCODINGSCONTINUE_AFTER_FATAL_ERRORDATATYPE_VALIDATOR_FACTORYDOCUMENT_SCANNERDTD_PROCESSORDTD_SCANNERDTD_VALIDATORENTITY_MANAGERENTITY_RESOLVERERROR_HANDLERERROR_REPORTEREXTERNAL_GENERAL_ENTITIESEXTERNAL_PARAMETER_ENTITIESfCommonComponentsfComponentsfConfigUpdatedfCurrentDTDScannerfCurrentDVFactoryfCurrentScannerfDatatypeValidatorFactoryfDocumentHandlerfDTDContentModelHandlerfDTDHandlerfDTDProcessorfDTDScannerfDTDValidatorfEntityManagerfErrorReporterfGrammarPoolfInputSourcefLastComponentfLocalefLocatorfNamespaceScannerfNonNSDTDValidatorfNonNSScannerfParseInProgressfSchemaValidatorfSymbolTablefValidationManagerfVersionDetectorfXML11ComponentsfXML11DatatypeFactoryfXML11DocScannerfXML11DTDProcessorfXML11DTDScannerfXML11DTDValidatorfXML11NSDocScannerfXML11NSDTDValidatorGENERATE_SYNTHETIC_ANNOTATIONSHONOUR_ALL_SCHEMALOCATIONSID_IDREF_CHECKINGIDENTITY_CONSTRAINT_CHECKINGIGNORE_XSI_TYPEJAXP_SCHEMA_LANGUAGEJAXP_SCHEMA_SOURCELOAD_EXTERNAL_DTDLOCALENAMESPACE_BINDERNAMESPACE_GROWTHNAMESPACESNORMALIZE_DATANOTIFY_BUILTIN_REFSNOTIFY_CHAR_REFSPRINT_EXCEPTION_STACK_TRACEROOT_ELEMENT_DECLROOT_TYPE_DEFSCHEMA_AUGMENT_PSVISCHEMA_DV_FACTORYSCHEMA_ELEMENT_DEFAULTSCHEMA_LOCATIONSCHEMA_NONS_LOCATIONSCHEMA_VALIDATORSYMBOL_TABLETOLERATE_DUPLICATESUNPARSED_ENTITY_CHECKINGUSE_GRAMMAR_POOL_ONLYVALIDATE_ANNOTATIONSVALIDATIONVALIDATION_MANAGERWARN_ON_DUPLICATE_ATTDEFWARN_ON_DUPLICATE_ENTITYDEFWARN_ON_UNDECLARED_ELEMDEFXML11_DATATYPE_VALIDATOR_FACTORYXML_STRINGXMLGRAMMAR_POOLXMLSCHEMA_FULL_CHECKINGXMLSCHEMA_VALIDATION

Constructor Summary

AccessConstructor and Description
public
XIncludeParserConfiguration()

Default constructor.

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

Constructs a parser configuration using the specified symbol table.

public
XIncludeParserConfiguration(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
XIncludeParserConfiguration(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 void
public void
Inherited from com.sun.org.apache.xerces.internal.parsers.XML11Configuration:
addCommonComponentaddComponentaddRecognizedParamsAndSetDefaultsaddXML11ComponentcheckFeaturecheckPropertycleanupgetDocumentHandlergetDTDContentModelHandlergetDTDHandlergetEntityResolvergetErrorHandlergetFeatureStategetFeatureState0getLocalegetPropertyStateparseparseresetresetCommonresetXML11setDocumentHandlersetDTDContentModelHandlersetDTDHandlersetEntityResolversetErrorHandlersetFeaturesetInputSourcesetLocale

Field Detail

ALLOW_UE_AND_NOTATION_EVENTSback to summary
protected static final String ALLOW_UE_AND_NOTATION_EVENTS

Feature identifier: allow notation and unparsed entity events to be sent out of order.

fXIncludeHandlerback to summary
private XIncludeHandler fXIncludeHandler
NAMESPACE_CONTEXTback to summary
protected static final String NAMESPACE_CONTEXT

Property identifier: error reporter.

XINCLUDE_FIXUP_BASE_URISback to summary
protected static final String XINCLUDE_FIXUP_BASE_URIS

Feature identifier: fixup base URIs.

XINCLUDE_FIXUP_LANGUAGEback to summary
protected static final String XINCLUDE_FIXUP_LANGUAGE

Feature identifier: fixup language.

XINCLUDE_HANDLERback to summary
protected static final String XINCLUDE_HANDLER

Property identifier: error reporter.

Constructor Detail

XIncludeParserConfigurationback to summary
public XIncludeParserConfiguration()

Default constructor.

XIncludeParserConfigurationback to summary
public XIncludeParserConfiguration(SymbolTable symbolTable)

Constructs a parser configuration using the specified symbol table.

Parameters
symbolTable:SymbolTable

The symbol table to use.

XIncludeParserConfigurationback to summary
public XIncludeParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)

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

Parameters
symbolTable:SymbolTable

The symbol table to use.

grammarPool:XMLGrammarPool

The grammar pool to use.

XIncludeParserConfigurationback to summary
public XIncludeParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)

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

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.XML11Configuration.configurePipeline.

Configures the pipeline.

configureXML11Pipelineback to summary
protected void configureXML11Pipeline()

Overrides com.sun.org.apache.xerces.internal.parsers.XML11Configuration.configureXML11Pipeline.

Doc from com.sun.org.apache.xerces.internal.parsers.XML11Configuration.configureXML11Pipeline.

Configures the XML 1.1 pipeline.

Note

this method also resets the new XML11 components.

setPropertyback to summary
public void setProperty(String propertyId, Object value) throws XMLConfigurationException

Overrides com.sun.org.apache.xerces.internal.parsers.XML11Configuration.setProperty.

Implements com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration.setProperty.

Doc from com.sun.org.apache.xerces.internal.parsers.XML11Configuration.setProperty.

setProperty

Exceptions
XMLConfigurationException:

Doc from com.sun.org.apache.xerces.internal.xni.parser.XMLParserConfiguration.setProperty.

Thrown if there is a configuration error.