java.lang.Object | ||
↳ | org.apache.xerces.util.SymbolTable | |
↳ | org.apache.xerces.util.SynchronizedSymbolTable |
Synchronized symbol table. This class moved into the util package since it's needed by multiple other classes (CachingParserPool, XMLGrammarCachingConfiguration).
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.util.SymbolTable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fSymbolTable | Main symbol table. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.util.SymbolTable
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a synchronized symbol table.
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified symbol to the symbol table and returns a
reference to the unique symbol.
| |||||||||||
Adds the specified symbol to the symbol table and returns a
reference to the unique symbol.
| |||||||||||
Returns true if the symbol table already contains the specified
symbol.
| |||||||||||
Returns true if the symbol table already contains the specified
symbol.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.util.SymbolTable
| |||||||||||
From class
java.lang.Object
|
Adds the specified symbol to the symbol table and returns a reference to the unique symbol. If the symbol already exists, the previous symbol reference is returned instead, in order guarantee that symbol references remain unique.
buffer | The buffer containing the new symbol. |
---|---|
offset | The offset into the buffer of the new symbol. |
length | The length of the new symbol in the buffer. |
Adds the specified symbol to the symbol table and returns a reference to the unique symbol. If the symbol already exists, the previous symbol reference is returned instead, in order guarantee that symbol references remain unique.
symbol | The new symbol. |
---|
Returns true if the symbol table already contains the specified symbol.
buffer | The buffer containing the symbol to look for. |
---|---|
offset | The offset into the buffer. |
length | The length of the symbol in the buffer. |
Returns true if the symbol table already contains the specified symbol.
symbol | The symbol to look for. |
---|