Class XIncludeParserConfiguration

  • All Implemented Interfaces:
    XML11Configurable, org.apache.xerces.xni.parser.XMLComponentManager, org.apache.xerces.xni.parser.XMLParserConfiguration, org.apache.xerces.xni.parser.XMLPullParserConfiguration

    public class XIncludeParserConfiguration
    extends XML11Configuration
    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:
    XIncludeHandler
    • Field Detail

      • ALLOW_UE_AND_NOTATION_EVENTS

        protected static final java.lang.String ALLOW_UE_AND_NOTATION_EVENTS
        Feature identifier: allow notation and unparsed entity events to be sent out of order.
        See Also:
        Constant Field Values
      • XINCLUDE_FIXUP_BASE_URIS

        protected static final java.lang.String XINCLUDE_FIXUP_BASE_URIS
        Feature identifier: fixup base URIs.
        See Also:
        Constant Field Values
      • XINCLUDE_FIXUP_LANGUAGE

        protected static final java.lang.String XINCLUDE_FIXUP_LANGUAGE
        Feature identifier: fixup language.
        See Also:
        Constant Field Values
      • XINCLUDE_HANDLER

        protected static final java.lang.String XINCLUDE_HANDLER
        Property identifier: error reporter.
        See Also:
        Constant Field Values
      • NAMESPACE_CONTEXT

        protected static final java.lang.String NAMESPACE_CONTEXT
        Property identifier: error reporter.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XIncludeParserConfiguration

        public XIncludeParserConfiguration()
        Default constructor.
      • XIncludeParserConfiguration

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

        public XIncludeParserConfiguration​(SymbolTable symbolTable,
                                           org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
        Constructs a parser configuration using the specified symbol table and grammar pool.

        Parameters:
        symbolTable - The symbol table to use.
        grammarPool - The grammar pool to use.
      • XIncludeParserConfiguration

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

        Parameters:
        symbolTable - The symbol table to use.
        grammarPool - The grammar pool to use.
        parentSettings - The parent settings.
    • Method Detail

      • setProperty

        public void setProperty​(java.lang.String propertyId,
                                java.lang.Object value)
                         throws org.apache.xerces.xni.parser.XMLConfigurationException
        Description copied from class: XML11Configuration
        setProperty
        Specified by:
        setProperty in interface org.apache.xerces.xni.parser.XMLParserConfiguration
        Overrides:
        setProperty in class XML11Configuration
        Parameters:
        propertyId - The property identifier.
        value - The value of the property.
        Throws:
        org.apache.xerces.xni.parser.XMLConfigurationException - If the requested feature is not known.