Class SchemaParsingConfig

    • 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_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
      • GENERATE_SYNTHETIC_ANNOTATIONS

        protected static final String GENERATE_SYNTHETIC_ANNOTATIONS
        Feature identifier: generate synthetic annotations.
        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
      • SCHEMA_VALIDATOR

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

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

        protected final XMLDTDScannerImpl fDTDScanner
        The XML 1.0 DTD scanner.
      • fXML11DatatypeFactory

        protected DTDDVFactory fXML11DatatypeFactory
        The XML 1.1 Datatype validator factory.
      • fCurrentDVFactory

        protected DTDDVFactory fCurrentDVFactory
        Current Datatype validator factory.
      • fCurrentDTDScanner

        protected XMLDTDScanner fCurrentDTDScanner
        Current DTD scanner.
      • fVersionDetector

        protected final XMLVersionDetector fVersionDetector
        XML version detector.
      • fErrorReporter

        protected final XMLErrorReporter fErrorReporter
        Error reporter.
      • fEntityManager

        protected final XMLEntityManager fEntityManager
        Entity manager.
      • 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.
    • Constructor Detail

      • SchemaParsingConfig

        public SchemaParsingConfig()
        Default constructor.
      • SchemaParsingConfig

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

        public SchemaParsingConfig​(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.
      • SchemaParsingConfig

        public SchemaParsingConfig​(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.