|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xbis.DefaultNameMap
XML Binary Information Set name mapping to handles. This class is used for models which do not include support for unique element and attribute qnames. It tracks and looks up handles for previously defined names, and allows new names to be added to the known set.
Nested Class Summary | |
protected static class |
DefaultNameMap.LinkedQName
Linkable form of name information. |
Field Summary | |
protected int |
m_nameCount
Number of name handles defined. |
protected com.sosnoski.util.hashmap.ObjectObjectHashMap |
m_nameMap
Map of heads of name lists corresponding to local names. |
Constructor Summary | |
DefaultNameMap()
Constructor. |
Method Summary | |
int |
addDefined(java.lang.String local,
java.lang.Object ns)
Add name to known set. |
void |
clear()
Empty the known set of names. |
int |
getHandle(java.lang.String local,
java.lang.Object ns)
Get name handle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.sosnoski.util.hashmap.ObjectObjectHashMap m_nameMap
protected int m_nameCount
Constructor Detail |
public DefaultNameMap()
Method Detail |
public int getHandle(java.lang.String local, java.lang.Object ns)
local
- local namens
- namespace for name
public int addDefined(java.lang.String local, java.lang.Object ns)
local
- local namens
- namespace for namepublic void clear()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |