|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fasterxml.aalto.util.NameTable
com.fasterxml.aalto.out.WNameTable
public final class WNameTable
This is a symbol table implementation used for storing byte-based
WName
s.
Constructor Summary | |
---|---|
protected |
WNameTable(int hashSize)
|
Method Summary | |
---|---|
protected WNameTable |
createChild(WNameFactory f)
|
WName |
findSymbol(String localName)
|
WName |
findSymbol(String prefix,
String localName)
Finds and returns name matching the specified symbol, if such name already exists in the table; or if not, creates name object, adds to the table, and returns it. |
void |
markAsShared()
|
boolean |
maybeDirty()
Method called to check to quickly see if a child symbol table may have gotten additional entries. |
boolean |
mergeToParent()
|
void |
nuke()
Method used by test code, to reset state of the name table. |
int |
size()
|
String |
toDebugString()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected WNameTable(int hashSize)
Method Detail |
---|
protected WNameTable createChild(WNameFactory f)
public boolean mergeToParent()
public void markAsShared()
public void nuke()
public int size()
size
in class NameTable
public boolean maybeDirty()
maybeDirty
in class NameTable
public WName findSymbol(String localName) throws XMLStreamException
XMLStreamException
public WName findSymbol(String prefix, String localName) throws XMLStreamException
XMLStreamException
public String toString()
toString
in class Object
public String toDebugString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |