org.apache.xerces.parsers
Class XIncludeParserConfiguration

java.lang.Object
  extended by org.apache.xerces.util.ParserConfigurationSettings
      extended by org.apache.xerces.parsers.XML11Configuration
          extended by org.apache.xerces.parsers.XIncludeParserConfiguration
All Implemented Interfaces:
XML11Configurable, XMLComponentManager, XMLParserConfiguration, XMLPullParserConfiguration

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

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
 void setProperty(java.lang.String propertyId, java.lang.Object value)
          setProperty
 
Methods inherited from class org.apache.xerces.parsers.XML11Configuration
cleanup, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLocale, parse, parse, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setInputSource, setLocale
 
Methods inherited from class org.apache.xerces.util.ParserConfigurationSettings
addRecognizedFeatures, addRecognizedProperties, getProperty
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.xerces.xni.parser.XMLParserConfiguration
addRecognizedFeatures, addRecognizedProperties, getProperty
 

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

setProperty

public void setProperty(java.lang.String propertyId,
                        java.lang.Object value)
                 throws XMLConfigurationException
Description copied from class: XML11Configuration
setProperty

Specified by:
setProperty in interface XMLParserConfiguration
Overrides:
setProperty in class XML11Configuration
Parameters:
propertyId - The property identifier.
value - The value of the property.
Throws:
XMLConfigurationException - Thrown if there is a configuration error.