|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 interactionsMethod Detail |
---|
public boolean start(Protocol elem)
DefaultVisitor
start
in interface Visitor
start
in class DefaultVisitor
elem
- The protocol
public boolean start(Choice elem)
DefaultVisitor
start
in interface Visitor
start
in class DefaultVisitor
elem
- The choice
public void end(Choice elem)
DefaultVisitor
end
in interface Visitor
end
in class DefaultVisitor
elem
- The choicepublic boolean start(Block elem)
DefaultVisitor
start
in interface Visitor
start
in class DefaultVisitor
elem
- The block
public void end(Block elem)
DefaultVisitor
end
in interface Visitor
end
in class DefaultVisitor
elem
- The blockpublic void accept(Interaction elem)
DefaultVisitor
accept
in interface Visitor
accept
in class DefaultVisitor
elem
- The interactionpublic void accept(Run elem)
DefaultVisitor
accept
in interface Visitor
accept
in class DefaultVisitor
elem
- The run
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |