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