org.apache.xerces.parsers

Class XIncludeParserConfiguration

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 Summary
protected static StringALLOW_UE_AND_NOTATION_EVENTS
Feature identifier: allow notation and unparsed entity events to be sent out of order.
protected static StringNAMESPACE_CONTEXT
Property identifier: error reporter.
protected static StringXINCLUDE_FIXUP_BASE_URIS
Feature identifier: fixup base URIs.
protected static StringXINCLUDE_FIXUP_LANGUAGE
Feature identifier: fixup language.
protected static StringXINCLUDE_HANDLER
Property identifier: error reporter.
Constructor Summary
XIncludeParserConfiguration()
Default constructor.
XIncludeParserConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.
XIncludeParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool.
XIncludeParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.
Method Summary
protected voidconfigurePipeline()
Configures the pipeline.
protected voidconfigureXML11Pipeline()
voidsetProperty(String propertyId, Object value)

Field Detail

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.

NAMESPACE_CONTEXT

protected static final String NAMESPACE_CONTEXT
Property identifier: error reporter.

XINCLUDE_FIXUP_BASE_URIS

protected static final String XINCLUDE_FIXUP_BASE_URIS
Feature identifier: fixup base URIs.

XINCLUDE_FIXUP_LANGUAGE

protected static final String XINCLUDE_FIXUP_LANGUAGE
Feature identifier: fixup language.

XINCLUDE_HANDLER

protected static final String XINCLUDE_HANDLER
Property identifier: error reporter.

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, 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, 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.

Method Detail

configurePipeline

protected void configurePipeline()
Configures the pipeline.

configureXML11Pipeline

protected void configureXML11Pipeline()

setProperty

public void setProperty(String propertyId, Object value)
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.