org.pietschy.command

Interface GroupVisitor

Known Implementing Classes:
AbstractVisitor, MatchVisitor, RemoveVisitor, ResetVisitor

public interface GroupVisitor

And interface for visiting the members of a CommandGroup.

Method Summary

void
visit(ActionCommand command)
Called to visit a ActionCommand member of a CommandGroup.
void
visit(CommandGroup group)
Called to visit a CommandGroup member of a CommandGroup.

Method Details

visit

public void visit(ActionCommand command)
Called to visit a ActionCommand member of a CommandGroup.
Parameters:
command - the member being visited.

visit

public void visit(CommandGroup group)
Called to visit a CommandGroup member of a CommandGroup.
Parameters:
group - the member being visited.