|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oxygenxml.validate.nvdl.ContextMap.Enumerator
private static class ContextMap.Enumerator
Creates an Enumeration implementation that enumerates all the modes stored in this context map and in the nested context maps.
Field Summary | |
---|---|
private Object |
otherValue
Store this context map other value. |
private Object |
rootValue
Store this context map root value. |
private Enumeration |
subMaps
Stores the ContextMap objects from the nameTable. |
private Enumeration |
subMapValues
Stores the enumeration of modes of the current subMap. |
Constructor Summary | |
---|---|
private |
ContextMap.Enumerator(ContextMap map)
|
Method Summary | |
---|---|
boolean |
hasMoreElements()
True if we have more elements. |
Object |
nextElement()
Get the next element (mode in this case). |
private void |
prep()
Advance to the next context map values in subMapValues and to the next element in subMap enumeration, if needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Object rootValue
private Object otherValue
private Enumeration subMapValues
private final Enumeration subMaps
Constructor Detail |
---|
private ContextMap.Enumerator(ContextMap map)
Method Detail |
---|
private void prep()
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |