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:
  • Field Details

    • ALLOW_UE_AND_NOTATION_EVENTS

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

      protected static final String XINCLUDE_FIXUP_BASE_URIS
      Feature identifier: fixup base URIs.
      See Also:
    • XINCLUDE_FIXUP_LANGUAGE

      protected static final String XINCLUDE_FIXUP_LANGUAGE
      Feature identifier: fixup language.
      See Also:
    • XPOINTER_HANDLER

      protected static final String XPOINTER_HANDLER
      Property identifier: error reporter.
      See Also:
    • XINCLUDE_HANDLER

      protected static final String XINCLUDE_HANDLER
      Property identifier: error reporter.
      See Also:
    • NAMESPACE_CONTEXT

      protected static final String NAMESPACE_CONTEXT
      Property identifier: error reporter.
      See Also:
  • Constructor Details

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

    • configurePipeline

      protected void configurePipeline()
      Configures the pipeline.
      Overrides:
      configurePipeline in class XML11Configuration
    • configureXML11Pipeline

      protected void configureXML11Pipeline()
      Description copied from class: XML11Configuration
      Configures the XML 1.1 pipeline. Note: this method also resets the new XML11 components.
      Overrides:
      configureXML11Pipeline in class XML11Configuration
    • setProperty

      public void setProperty(String propertyId, 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 -
      value -
      Throws:
      org.apache.xerces.xni.parser.XMLConfigurationException - If the requested feature is not known.