|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of the object to be handledE - the type of Exception that his handler is allowed to throwpublic interface Handler<T,E extends Exception>
a fairly generic way to specify some handler to be used as an easy-to-use call-back mechanism
Processor| Method Summary | |
|---|---|
void |
handle(Object callbackSource,
T item)
called by an object (for example some parser) when an item is observed that ought to be handled by this implementation |
| Method Detail |
|---|
void handle(Object callbackSource,
T item)
throws E extends Exception
callbackSource - the object that initiated this call-backitem - the item to be handled by this instance
E extends Exception
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||