public class

XPointerParserConfiguration

extends XML11Configuration
java.lang.Object
   ↳ org.apache.xerces.util.ParserConfigurationSettings
     ↳ org.apache.xerces.parsers.XML11Configuration
       ↳ org.apache.xerces.parsers.XPointerParserConfiguration

Class Overview

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

Summary

Constants
String ALLOW_UE_AND_NOTATION_EVENTS Feature identifier: allow notation and unparsed entity events to be sent out of order.
String NAMESPACE_CONTEXT Property identifier: error reporter.
String XINCLUDE_FIXUP_BASE_URIS Feature identifier: fixup base URIs.
String XINCLUDE_FIXUP_LANGUAGE Feature identifier: fixup language.
String XINCLUDE_HANDLER Property identifier: error reporter.
String XPOINTER_HANDLER Property identifier: error reporter.
[Expand]
Inherited Constants
From class org.apache.xerces.parsers.XML11Configuration
From class org.apache.xerces.util.ParserConfigurationSettings
[Expand]
Inherited Fields
From class org.apache.xerces.parsers.XML11Configuration
From class org.apache.xerces.util.ParserConfigurationSettings
Public Constructors
XPointerParserConfiguration()
Default constructor.
XPointerParserConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.
XPointerParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool.
XPointerParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.
Public Methods
void setProperty(String propertyId, Object value)
setProperty
Protected Methods
void configurePipeline()
Configures the pipeline.
void configureXML11Pipeline()
Configures the XML 1.1 pipeline.
[Expand]
Inherited Methods
From class org.apache.xerces.parsers.XML11Configuration
From class org.apache.xerces.util.ParserConfigurationSettings
From class java.lang.Object
From interface org.apache.xerces.xni.parser.XMLComponentManager
From interface org.apache.xerces.xni.parser.XMLParserConfiguration
From interface org.apache.xerces.xni.parser.XMLPullParserConfiguration

Constants

protected static final String ALLOW_UE_AND_NOTATION_EVENTS

Feature identifier: allow notation and unparsed entity events to be sent out of order.

Constant Value: "http://xml.org/sax/features/allow-dtd-events-after-endDTD"

protected static final String NAMESPACE_CONTEXT

Property identifier: error reporter.

Constant Value: "http://apache.org/xml/properties/internal/namespace-context"

protected static final String XINCLUDE_FIXUP_BASE_URIS

Feature identifier: fixup base URIs.

Constant Value: "http://apache.org/xml/features/xinclude/fixup-base-uris"

protected static final String XINCLUDE_FIXUP_LANGUAGE

Feature identifier: fixup language.

Constant Value: "http://apache.org/xml/features/xinclude/fixup-language"

protected static final String XINCLUDE_HANDLER

Property identifier: error reporter.

Constant Value: "http://apache.org/xml/properties/internal/xinclude-handler"

protected static final String XPOINTER_HANDLER

Property identifier: error reporter.

Constant Value: "http://apache.org/xml/properties/internal/xpointer-handler"

Public Constructors

public XPointerParserConfiguration ()

Default constructor.

public XPointerParserConfiguration (SymbolTable symbolTable)

Constructs a parser configuration using the specified symbol table.

Parameters
symbolTable The symbol table to use.

public XPointerParserConfiguration (SymbolTable symbolTable, 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.

public XPointerParserConfiguration (SymbolTable symbolTable, XMLGrammarPool grammarPool, 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.

Public Methods

public void setProperty (String propertyId, Object value)

setProperty

Protected Methods

protected void configurePipeline ()

Configures the pipeline.

protected void configureXML11Pipeline ()

Configures the XML 1.1 pipeline. Note: this method also resets the new XML11 components.