Class XPointerParserConfiguration

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

    public class XPointerParserConfiguration
    extends XML11Configuration
    This parser configuration includes an XPointerHandler 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 with XPointers, to the conformance level described in XPointerHandler..
    See Also:
    XPointerHandler
    • 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
      • XPOINTER_HANDLER

        protected static final java.lang.String XPOINTER_HANDLER
        Property identifier: error reporter.
        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

      • XPointerParserConfiguration

        public XPointerParserConfiguration()
        Default constructor.
      • XPointerParserConfiguration

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

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

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