org.apache.xerces.parsers

Class XIncludeAwareParserConfiguration

public class XIncludeAwareParserConfiguration extends XML11Configuration

This class is the configuration used to parse XML 1.0 and XML 1.1 documents and provides support for XInclude. This is the default Xerces configuration.

Version: $Id: XIncludeAwareParserConfiguration.java,v 1.2 2005/05/09 02:08:10 mrglavas Exp $

Author: Michael Glavassevich, IBM

Field Summary
protected static StringALLOW_UE_AND_NOTATION_EVENTS
Feature identifier: allow notation and unparsed entity events to be sent out of order.
protected NamespaceContextfCurrentNSContext
Current NamespaceContext.
protected NamespaceSupportfNonXIncludeNSContext
Non-XInclude NamespaceContext.
protected booleanfXIncludeEnabled
Flag indicating whether XInclude processsing is enabled.
protected XIncludeHandlerfXIncludeHandler
XInclude handler.
protected XIncludeNamespaceSupportfXIncludeNSContext
XInclude NamespaceContext.
protected static StringNAMESPACE_CONTEXT
Property identifier: error reporter.
protected static StringXINCLUDE_FEATURE
Feature identifier: XInclude processing
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
XIncludeAwareParserConfiguration()
Default constructor.
XIncludeAwareParserConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.
XIncludeAwareParserConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool.
XIncludeAwareParserConfiguration(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()
booleangetFeature(String featureId)
voidsetFeature(String featureId, boolean state)

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.

fCurrentNSContext

protected NamespaceContext fCurrentNSContext
Current NamespaceContext.

fNonXIncludeNSContext

protected NamespaceSupport fNonXIncludeNSContext
Non-XInclude NamespaceContext.

fXIncludeEnabled

protected boolean fXIncludeEnabled
Flag indicating whether XInclude processsing is enabled.

fXIncludeHandler

protected XIncludeHandler fXIncludeHandler
XInclude handler.

fXIncludeNSContext

protected XIncludeNamespaceSupport fXIncludeNSContext
XInclude NamespaceContext.

NAMESPACE_CONTEXT

protected static final String NAMESPACE_CONTEXT
Property identifier: error reporter.

XINCLUDE_FEATURE

protected static final String XINCLUDE_FEATURE
Feature identifier: XInclude processing

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

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, 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, 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()

getFeature

public boolean getFeature(String featureId)

setFeature

public void setFeature(String featureId, boolean state)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.