|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.observer.start.StartObserverList
public final class StartObserverList
This class provides a type-safe list of observers for the start event.
| Constructor Summary | |
|---|---|
StartObserverList()
|
|
| Method Summary | |
|---|---|
void |
add(StartObserver observer)
Add an observer to the list. |
static StartObserver |
register(StartObserver list,
StartObserver observer)
Take a list and add an observer. |
void |
update(Interpreter interpreter)
Invoke all observers on the list to inform them of the start operation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StartObserverList()
| Method Detail |
|---|
public static StartObserver register(StartObserver list,
StartObserver observer)
null then
a new one is created.
list - the input list or nullobserver - the observer to add
public void add(StartObserver observer)
observer - the observer to add to the list
public void update(Interpreter interpreter)
throws HelpingException
update in interface StartObserverinterpreter - the interpreter to be started
HelpingException - in case of an errorStartObserver.update(
org.extex.interpreter.Interpreter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||