Class XIncludeAwareParserConfiguration

    • 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_FEATURE

        protected static final java.lang.String XINCLUDE_FEATURE
        Feature identifier: XInclude processing
        See Also:
        Constant Field Values
      • XINCLUDE_HANDLER

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

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

        protected XIncludeHandler fXIncludeHandler
        XInclude handler.
      • fNonXIncludeNSContext

        protected NamespaceSupport fNonXIncludeNSContext
        Non-XInclude NamespaceContext.
      • fCurrentNSContext

        protected org.apache.xerces.xni.NamespaceContext fCurrentNSContext
        Current NamespaceContext.
      • fXIncludeEnabled

        protected boolean fXIncludeEnabled
        Flag indicating whether XInclude processsing is enabled.
    • Constructor Detail

      • XIncludeAwareParserConfiguration

        public XIncludeAwareParserConfiguration()
        Default constructor.
      • XIncludeAwareParserConfiguration

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

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

        public XIncludeAwareParserConfiguration​(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

      • getFeature

        public boolean getFeature​(java.lang.String featureId)
                           throws org.apache.xerces.xni.parser.XMLConfigurationException
        Description copied from class: XML11Configuration
        Returns the state of a feature.
        Specified by:
        getFeature in interface org.apache.xerces.xni.parser.XMLComponentManager
        Specified by:
        getFeature in interface org.apache.xerces.xni.parser.XMLParserConfiguration
        Overrides:
        getFeature in class XML11Configuration
        Parameters:
        featureId - The feature identifier.
        Returns:
        true if the feature is supported
        Throws:
        org.apache.xerces.xni.parser.XMLConfigurationException - Thrown for configuration error. In general, components should only throw this exception if it is really a critical error.
      • setFeature

        public void setFeature​(java.lang.String featureId,
                               boolean state)
                        throws org.apache.xerces.xni.parser.XMLConfigurationException
        Description copied from class: XML11Configuration
        Set the state of a feature. Set the state of any feature in a SAX2 parser. The parser might not recognize the feature, and if it does recognize it, it might not be able to fulfill the request.
        Specified by:
        setFeature in interface org.apache.xerces.xni.parser.XMLParserConfiguration
        Overrides:
        setFeature in class XML11Configuration
        Parameters:
        featureId - The unique identifier (URI) of the feature.
        state - The requested state of the feature (true or false).
        Throws:
        org.apache.xerces.xni.parser.XMLConfigurationException - If the requested feature is not known.