public class

SoftReferenceSymbolTableConfiguration

extends XIncludeAwareParserConfiguration
java.lang.Object
   ↳ org.apache.xerces.util.ParserConfigurationSettings
     ↳ org.apache.xerces.parsers.XML11Configuration
       ↳ org.apache.xerces.parsers.XIncludeAwareParserConfiguration
         ↳ org.apache.xerces.parsers.SoftReferenceSymbolTableConfiguration

Class Overview

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.

Summary

[Expand]
Inherited Constants
From class org.apache.xerces.parsers.XIncludeAwareParserConfiguration
From class org.apache.xerces.parsers.XML11Configuration
From class org.apache.xerces.util.ParserConfigurationSettings
[Expand]
Inherited Fields
From class org.apache.xerces.parsers.XIncludeAwareParserConfiguration
From class org.apache.xerces.parsers.XML11Configuration
From class org.apache.xerces.util.ParserConfigurationSettings
Public Constructors
SoftReferenceSymbolTableConfiguration()
Default constructor.
SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table.
SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool.
SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings.
[Expand]
Inherited Methods
From class org.apache.xerces.parsers.XIncludeAwareParserConfiguration
From class org.apache.xerces.parsers.XML11Configuration
From class org.apache.xerces.util.ParserConfigurationSettings
From class java.lang.Object
From interface org.apache.xerces.xni.parser.XMLComponentManager
From interface org.apache.xerces.xni.parser.XMLParserConfiguration
From interface org.apache.xerces.xni.parser.XMLPullParserConfiguration

Public Constructors

public SoftReferenceSymbolTableConfiguration ()

Default constructor.

public SoftReferenceSymbolTableConfiguration (SymbolTable symbolTable)

Constructs a parser configuration using the specified symbol table.

Parameters
symbolTable The symbol table to use.

public SoftReferenceSymbolTableConfiguration (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.

public SoftReferenceSymbolTableConfiguration (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.