public final class WNameTable extends NameTable
WNames.| Modifier | Constructor and Description |
|---|---|
protected |
WNameTable(int hashSize) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected WNameTable createChild(WNameFactory f)
public boolean mergeToParent()
public void markAsShared()
public void nuke()
public boolean maybeDirty()
maybeDirty in class NameTablepublic WName findSymbol(String localName) throws XMLStreamException
XMLStreamExceptionpublic WName findSymbol(String prefix, String localName) throws XMLStreamException
XMLStreamExceptionpublic String toDebugString()
Copyright © 2021 FasterXML. All rights reserved.