|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectparsedtree.ParticipantsInScope
This class keeps a list of names that are valid participants. At the start of a figure, it is set to the list of participants to the figure. (The local names are stored). As units are formed and disbanded, these are added and removed from this list. Thus at any point of time it contains the list of names that are valid participants in moves and figures.
People are still in the list even if they are currently in a unit, so technically they are not valid participants. However such errors are detected by the caller and this gives a better error message.
| Constructor Summary | |
ParticipantsInScope()
|
|
| Method Summary | |
void |
addParticipant(BaseParticipantDefinition newParticipant)
DOCUMENT ME! |
BaseParticipantDefinition |
getParticipant(java.lang.String name)
DOCUMENT ME! |
BaseParticipantDefinition |
removeUnit(java.lang.String name)
Finds, removes, and returns a participant from the list of participants in scope. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParticipantsInScope()
| Method Detail |
public void addParticipant(BaseParticipantDefinition newParticipant)
throws org.xml.sax.SAXException
newParticipant - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
public BaseParticipantDefinition getParticipant(java.lang.String name)
throws org.xml.sax.SAXException
name - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
public BaseParticipantDefinition removeUnit(java.lang.String name)
throws org.xml.sax.SAXException
name - DOCUMENT ME!
org.xml.sax.SAXException - DOCUMENT ME!
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||