|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.ParserConfigurationSettings org.apache.xerces.parsers.XML11Configuration org.apache.xerces.parsers.XIncludeAwareParserConfiguration org.apache.xerces.parsers.SoftReferenceSymbolTableConfiguration
public class SoftReferenceSymbolTableConfiguration
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.
SoftReferenceSymbolTable
Constructor Summary | |
---|---|
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. |
Method Summary |
---|
Methods inherited from class org.apache.xerces.parsers.XIncludeAwareParserConfiguration |
---|
getFeature, setFeature |
Methods inherited from class org.apache.xerces.parsers.XML11Configuration |
---|
cleanup, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, parse, parse, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setInputSource, setLocale, setProperty |
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 |
---|
public SoftReferenceSymbolTableConfiguration()
public SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable)
symbolTable
- The symbol table to use.public SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool)
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.public SoftReferenceSymbolTableConfiguration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings)
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.parentSettings
- The parent settings.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |