Class XML11Configuration

    • Field Detail

      • WARN_ON_DUPLICATE_ATTDEF

        protected static final String WARN_ON_DUPLICATE_ATTDEF
        Feature identifier: warn on duplicate attribute definition.
        See Also:
        Constant Field Values
      • WARN_ON_DUPLICATE_ENTITYDEF

        protected static final String WARN_ON_DUPLICATE_ENTITYDEF
        Feature identifier: warn on duplicate entity definition.
        See Also:
        Constant Field Values
      • WARN_ON_UNDECLARED_ELEMDEF

        protected static final String WARN_ON_UNDECLARED_ELEMDEF
        Feature identifier: warn on undeclared element definition.
        See Also:
        Constant Field Values
      • ALLOW_JAVA_ENCODINGS

        protected static final String ALLOW_JAVA_ENCODINGS
        Feature identifier: allow Java encodings.
        See Also:
        Constant Field Values
      • CONTINUE_AFTER_FATAL_ERROR

        protected static final String CONTINUE_AFTER_FATAL_ERROR
        Feature identifier: continue after fatal error.
        See Also:
        Constant Field Values
      • LOAD_EXTERNAL_DTD

        protected static final String LOAD_EXTERNAL_DTD
        Feature identifier: load external DTD.
        See Also:
        Constant Field Values
      • NOTIFY_BUILTIN_REFS

        protected static final String NOTIFY_BUILTIN_REFS
        Feature identifier: notify built-in refereces.
        See Also:
        Constant Field Values
      • NOTIFY_CHAR_REFS

        protected static final String NOTIFY_CHAR_REFS
        Feature identifier: notify character refereces.
        See Also:
        Constant Field Values
      • NORMALIZE_DATA

        protected static final String NORMALIZE_DATA
        Feature identifier: expose schema normalized value
        See Also:
        Constant Field Values
      • SCHEMA_ELEMENT_DEFAULT

        protected static final String SCHEMA_ELEMENT_DEFAULT
        Feature identifier: send element default value via characters()
        See Also:
        Constant Field Values
      • SCHEMA_AUGMENT_PSVI

        protected static final String SCHEMA_AUGMENT_PSVI
        Feature identifier: augment PSVI
        See Also:
        Constant Field Values
      • XMLSCHEMA_VALIDATION

        protected static final String XMLSCHEMA_VALIDATION
        feature identifier: XML Schema validation
        See Also:
        Constant Field Values
      • XMLSCHEMA_FULL_CHECKING

        protected static final String XMLSCHEMA_FULL_CHECKING
        feature identifier: XML Schema validation -- full checking
        See Also:
        Constant Field Values
      • GENERATE_SYNTHETIC_ANNOTATIONS

        protected static final String GENERATE_SYNTHETIC_ANNOTATIONS
        Feature: generate synthetic annotations
        See Also:
        Constant Field Values
      • VALIDATE_ANNOTATIONS

        protected static final String VALIDATE_ANNOTATIONS
        Feature identifier: validate annotations
        See Also:
        Constant Field Values
      • HONOUR_ALL_SCHEMALOCATIONS

        protected static final String HONOUR_ALL_SCHEMALOCATIONS
        Feature identifier: honour all schemaLocations
        See Also:
        Constant Field Values
      • NAMESPACE_GROWTH

        protected static final String NAMESPACE_GROWTH
        Feature identifier: namespace growth
        See Also:
        Constant Field Values
      • TOLERATE_DUPLICATES

        protected static final String TOLERATE_DUPLICATES
        Feature identifier: tolerate duplicates
        See Also:
        Constant Field Values
      • USE_GRAMMAR_POOL_ONLY

        protected static final String USE_GRAMMAR_POOL_ONLY
        Feature identifier: use grammar pool only
        See Also:
        Constant Field Values
      • EXTERNAL_GENERAL_ENTITIES

        protected static final String EXTERNAL_GENERAL_ENTITIES
        Feature identifier: external general entities.
        See Also:
        Constant Field Values
      • EXTERNAL_PARAMETER_ENTITIES

        protected static final String EXTERNAL_PARAMETER_ENTITIES
        Feature identifier: external parameter entities.
        See Also:
        Constant Field Values
      • IGNORE_XSI_TYPE

        protected static final String IGNORE_XSI_TYPE
        Feature identifier: whether to ignore xsi:type attributes until a global element declaration is encountered
        See Also:
        Constant Field Values
      • ID_IDREF_CHECKING

        protected static final String ID_IDREF_CHECKING
        Feature identifier: whether to ignore ID/IDREF errors
        See Also:
        Constant Field Values
      • UNPARSED_ENTITY_CHECKING

        protected static final String UNPARSED_ENTITY_CHECKING
        Feature identifier: whether to ignore unparsed entity errors
        See Also:
        Constant Field Values
      • IDENTITY_CONSTRAINT_CHECKING

        protected static final String IDENTITY_CONSTRAINT_CHECKING
        Feature identifier: whether to ignore identity constraint errors
        See Also:
        Constant Field Values
      • SCHEMA_VALIDATOR

        protected static final String SCHEMA_VALIDATOR
        Property identifier: XML Schema validator.
        See Also:
        Constant Field Values
      • SCHEMA_NONS_LOCATION

        protected static final String SCHEMA_NONS_LOCATION
        Property identifier: no namespace schema location.
        See Also:
        Constant Field Values
      • DOCUMENT_SCANNER

        protected static final String DOCUMENT_SCANNER
        Property identifier document scanner:
        See Also:
        Constant Field Values
      • NAMESPACE_BINDER

        protected static final String NAMESPACE_BINDER
        Property identifier: namespace binder.
        See Also:
        Constant Field Values
      • DATATYPE_VALIDATOR_FACTORY

        protected static final String DATATYPE_VALIDATOR_FACTORY
        Property identifier: datatype validator factory.
        See Also:
        Constant Field Values
      • JAXP_SCHEMA_LANGUAGE

        protected static final String JAXP_SCHEMA_LANGUAGE
        Property identifier: JAXP schema language / DOM schema-type.
        See Also:
        Constant Field Values
      • JAXP_SCHEMA_SOURCE

        protected static final String JAXP_SCHEMA_SOURCE
        Property identifier: JAXP schema source/ DOM schema-location.
        See Also:
        Constant Field Values
      • ROOT_TYPE_DEF

        protected static final String ROOT_TYPE_DEF
        Property identifier: root type definition.
        See Also:
        Constant Field Values
      • ROOT_ELEMENT_DECL

        protected static final String ROOT_ELEMENT_DECL
        Property identifier: root element declaration.
        See Also:
        Constant Field Values
      • SCHEMA_DV_FACTORY

        protected static final String SCHEMA_DV_FACTORY
        Property identifier: Schema DV Factory
        See Also:
        Constant Field Values
      • PRINT_EXCEPTION_STACK_TRACE

        protected static final boolean PRINT_EXCEPTION_STACK_TRACE
        Set to true and recompile to print exception stack trace.
        See Also:
        Constant Field Values
      • fLocale

        protected Locale fLocale
      • fComponents

        protected final ArrayList fComponents
        XML 1.0 Components.
      • fXML11Components

        protected final ArrayList fXML11Components
        XML 1.1. Components.
      • fCommonComponents

        protected final ArrayList fCommonComponents
        Common components: XMLEntityManager, XMLErrorReporter, XMLSchemaValidator
      • fDTDHandler

        protected XMLDTDHandler fDTDHandler
        The DTD handler.
      • fLastComponent

        protected XMLDocumentSource fLastComponent
        Last component in the document pipeline
      • fParseInProgress

        protected boolean fParseInProgress
        True if a parse is in progress. This state is needed because some features/properties cannot be set while parsing (e.g. validation and namespaces).
      • fConfigUpdated

        protected boolean fConfigUpdated
        fConfigUpdated is set to true if there has been any change to the configuration settings, i.e a feature or a property was changed.
      • fDatatypeValidatorFactory

        protected final DTDDVFactory fDatatypeValidatorFactory
        The XML 1.0 Datatype validator factory.
      • fNamespaceScanner

        protected final XMLNSDocumentScannerImpl fNamespaceScanner
        The XML 1.0 Document scanner that does namespace binding.
      • fNonNSScanner

        protected XMLDocumentScannerImpl fNonNSScanner
        The XML 1.0 Non-namespace implementation of scanner
      • fDTDValidator

        protected final XMLDTDValidator fDTDValidator
        The XML 1.0 DTD Validator: binds namespaces
      • fNonNSDTDValidator

        protected XMLDTDValidator fNonNSDTDValidator
        The XML 1.0 DTD Validator that does not bind namespaces
      • fDTDScanner

        protected final XMLDTDScanner fDTDScanner
        The XML 1.0 DTD scanner.
      • fDTDProcessor

        protected final XMLDTDProcessor fDTDProcessor
        The XML 1.0 DTD Processor .
      • fXML11DatatypeFactory

        protected DTDDVFactory fXML11DatatypeFactory
        The XML 1.1 datatype factory.
      • fXML11NSDocScanner

        protected XML11NSDocumentScannerImpl fXML11NSDocScanner
        The XML 1.1 document scanner that does namespace binding.
      • fXML11DocScanner

        protected XML11DocumentScannerImpl fXML11DocScanner
        The XML 1.1 document scanner that does not do namespace binding.
      • fXML11NSDTDValidator

        protected XML11NSDTDValidator fXML11NSDTDValidator
        The XML 1.1 DTD validator that does namespace binding.
      • fXML11DTDValidator

        protected XML11DTDValidator fXML11DTDValidator
        The XML 1.1 DTD validator that does not do namespace binding.
      • fXML11DTDProcessor

        protected XML11DTDProcessor fXML11DTDProcessor
        The XML 1.1 DTD processor.
      • fCurrentDVFactory

        protected DTDDVFactory fCurrentDVFactory
        Current Datatype validator factory.
      • fCurrentDTDScanner

        protected XMLDTDScanner fCurrentDTDScanner
        Current DTD scanner.
    • Constructor Detail

      • XML11Configuration

        public XML11Configuration()
        Default constructor.
      • XML11Configuration

        public XML11Configuration​(SymbolTable symbolTable)
        Constructs a parser configuration using the specified symbol table.
        Parameters:
        symbolTable - The symbol table to use.
      • XML11Configuration

        public XML11Configuration​(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 - The symbol table to use.
        grammarPool - The grammar pool to use.
      • XML11Configuration

        public XML11Configuration​(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 - The symbol table to use.
        grammarPool - The grammar pool to use.
        parentSettings - The parent settings.