FileDocCategorySizeDatePackage
SoftReferenceSymbolTableConfiguration.javaAPI DocApache Xerces 3.0.13330Fri Sep 14 20:33:56 BST 2007org.apache.xerces.parsers

SoftReferenceSymbolTableConfiguration

public class SoftReferenceSymbolTableConfiguration extends XIncludeAwareParserConfiguration
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.
see
org.apache.xerces.util.SoftReferenceSymbolTable
author
Peter McCracken, IBM
version
$Id: SoftReferenceSymbolTableConfiguration.java 478344 2006-11-22 22:19:56Z mrglavas $

Fields Summary
Constructors Summary
public SoftReferenceSymbolTableConfiguration()
Default constructor.

        this(new SoftReferenceSymbolTable(), null, null);
    
public SoftReferenceSymbolTableConfiguration(org.apache.xerces.util.SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.

param
symbolTable The symbol table to use.

        this(symbolTable, null, null);
    
public SoftReferenceSymbolTableConfiguration(org.apache.xerces.util.SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool.

param
symbolTable The symbol table to use.
param
grammarPool The grammar pool to use.

        this(symbolTable, grammarPool, null);
    
public SoftReferenceSymbolTableConfiguration(org.apache.xerces.util.SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool, org.apache.xerces.xni.parser.XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.

param
symbolTable The symbol table to use.
param
grammarPool The grammar pool to use.
param
parentSettings The parent settings.

        super(symbolTable, grammarPool, parentSettings);
    
Methods Summary