|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.scribble.protocol.model.DefaultVisitor
org.scribble.protocol.util.InteractionUtil.InitialInteractionVisitor
public static class InteractionUtil.InitialInteractionVisitor

This class identifies the initial interaction.
| Constructor Summary | |
|---|---|
InteractionUtil.InitialInteractionVisitor(List<ModelObject> list)
This is the constructor. |
|
| Method Summary | |
|---|---|
void |
accept(Interaction elem)
This method visits an interaction component. |
void |
accept(Run elem)
This method indicates the start of a run construct. |
void |
end(Block elem)
This method indicates the end of a block. |
void |
end(Choice elem)
This method indicates the end of a choice. |
boolean |
start(Block elem)
This method indicates the start of a block. |
boolean |
start(Choice elem)
This method indicates the start of a choice. |
boolean |
start(Protocol elem)
This method indicates the start of a protocol. |
| Methods inherited from class org.scribble.protocol.model.DefaultVisitor |
|---|
accept, accept, accept, accept, accept, accept, accept, accept, end, end, end, end, end, end, end, end, end, setDefaultGroupReturn, start, start, start, start, start, start, start, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InteractionUtil.InitialInteractionVisitor(List<ModelObject> list)
list - The list to contain the interactions| Method Detail |
|---|
public boolean start(Protocol elem)
DefaultVisitor
start in interface Visitorstart in class DefaultVisitorelem - The protocol
public boolean start(Choice elem)
DefaultVisitor
start in interface Visitorstart in class DefaultVisitorelem - The choice
public void end(Choice elem)
DefaultVisitor
end in interface Visitorend in class DefaultVisitorelem - The choicepublic boolean start(Block elem)
DefaultVisitor
start in interface Visitorstart in class DefaultVisitorelem - The block
public void end(Block elem)
DefaultVisitor
end in interface Visitorend in class DefaultVisitorelem - The blockpublic void accept(Interaction elem)
DefaultVisitor
accept in interface Visitoraccept in class DefaultVisitorelem - The interactionpublic void accept(Run elem)
DefaultVisitor
accept in interface Visitoraccept in class DefaultVisitorelem - The run
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||