Top Description Fields Constructors Methods
org.apache.xerces.parsers

public Class SoftReferenceSymbolTableConfiguration

extends XIncludeAwareParserConfiguration
Class Inheritance
Imports
org.apache.xerces.util.SoftReferenceSymbolTable, .SymbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool, org.apache.xerces.xni.parser.XMLComponentManager

This parser configuration extends the default configuration allowing Xerces to handle usage scenarios where the names in the XML documents being parsed are mostly unique by installing a memory sensitive SymbolTable. The internalized strings stored in this SymbolTable are softly reachable and may be cleared by the garbage collector in response to memory demand.
Author
Peter McCracken, IBM
Version
$Id: SoftReferenceSymbolTableConfiguration.java 478344 2006-11-22 22:19:56Z mrglavas $
See Also
org.apache.xerces.util.SoftReferenceSymbolTable

Field Summary

Inherited from org.apache.xerces.parsers.XIncludeAwareParserConfiguration:
ALLOW_UE_AND_NOTATION_EVENTSfCurrentNSContextfNonXIncludeNSContextfXIncludeEnabledfXIncludeHandlerfXIncludeNSContextNAMESPACE_CONTEXTXINCLUDE_FEATUREXINCLUDE_FIXUP_BASE_URISXINCLUDE_FIXUP_LANGUAGEXINCLUDE_HANDLER

Constructor Summary

AccessConstructor and Description
public
public
SoftReferenceSymbolTableConfiguration(SymbolTable
The symbol table to use.
symbolTable
)

Constructs a parser configuration using the specified symbol table.

public
SoftReferenceSymbolTableConfiguration(SymbolTable
The symbol table to use.
symbolTable
,
XMLGrammarPool
The grammar pool to use.
grammarPool
)

Constructs a parser configuration using the specified symbol table and grammar pool.

public
SoftReferenceSymbolTableConfiguration(SymbolTable
The symbol table to use.
symbolTable
,
XMLGrammarPool
The grammar pool to use.
grammarPool
,
XMLComponentManager
The parent settings.
parentSettings
)

Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.

Method Summary

Inherited from org.apache.xerces.parsers.XIncludeAwareParserConfiguration:
configurePipelineconfigureXML11PipelinegetFeaturesetFeature

Constructor Detail

SoftReferenceSymbolTableConfigurationback to summary
public SoftReferenceSymbolTableConfiguration()

Default constructor.

SoftReferenceSymbolTableConfigurationback to summary
public SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable)

Constructs a parser configuration using the specified symbol table.

Parameters
symbolTable:SymbolTable

The symbol table to use.

SoftReferenceSymbolTableConfigurationback to summary
public SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)

Constructs a parser configuration using the specified symbol table and grammar pool.

Parameters
symbolTable:SymbolTable

The symbol table to use.

grammarPool:XMLGrammarPool

The grammar pool to use.

SoftReferenceSymbolTableConfigurationback to summary
public SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)

Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.

Parameters
symbolTable:SymbolTable

The symbol table to use.

grammarPool:XMLGrammarPool

The grammar pool to use.

parentSettings:XMLComponentManager

The parent settings.