|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A1 - the type of the first argumentA2 - the type of the second argumentA3 - the type of the third argumentpublic interface InteractionVisitor<A1,A2,A3>
This interface describes a visitor for interaction modes. With the help of this interface the visitor pattern can be implemented.
The user of the visitor pattern has to provide an implementation of this interface. Then the visit method is invoked and the caller is forwarded to the appropriate visit method in the visitor.
Consider we have a mode constant at hand which is in fact a batch mode and we invokes
boolean boo = mode.visit(visitor, a, b, c);then the following method in the object visitor is used:
visitBatchmode(visitor, a, b, c)
| Method Summary | |
|---|---|
boolean |
visitBatchmode(A1 arg1,
A2 arg2,
A3 arg3)
Invoke the method in case of a batchmode interaction. |
boolean |
visitErrorstopmode(A1 arg1,
A2 arg2,
A3 arg3)
Invoke the method in case of a error-stop mode interaction. |
boolean |
visitNonstopmode(A1 arg1,
A2 arg2,
A3 arg3)
Invoke the method in case of a non-stop mode interaction. |
boolean |
visitScrollmode(A1 arg1,
A2 arg2,
A3 arg3)
Invoke the method in case of a scroll mode interaction. |
| Method Detail |
|---|
boolean visitBatchmode(A1 arg1,
A2 arg2,
A3 arg3)
throws GeneralException
arg1 - the first argumentarg2 - the second argumentarg3 - the third argument
GeneralException - in case of an error
boolean visitNonstopmode(A1 arg1,
A2 arg2,
A3 arg3)
throws GeneralException
arg1 - the first argumentarg2 - the second argumentarg3 - the third argument
GeneralException - in case of an error
boolean visitScrollmode(A1 arg1,
A2 arg2,
A3 arg3)
throws GeneralException
arg1 - the first argumentarg2 - the second argumentarg3 - the third argument
GeneralException - in case of an error
boolean visitErrorstopmode(A1 arg1,
A2 arg2,
A3 arg3)
throws GeneralException
arg1 - the first argumentarg2 - the second argumentarg3 - the third argument
GeneralException - in case of an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||