org.pfsw.odem
Interface IContainersVisitor
- All Known Subinterfaces:
- IExplorableElementVisitor
public interface IContainersVisitor
This interface defines one part of the "Visitor Pattern". It specifies
a callback method that gets invoked while iterating through objects that
contain IContainer objects.
Iteration immedately stops whenever visitContainer(IContainer) returns false.
- Version:
- 1.0
- Author:
- M.Duchrow
visitContainer
boolean visitContainer(IContainer container)
- Will be called for each IContainer object.
- Parameters:
container
- The container that gets visited
- Returns:
- true if processing should be continued, otherwise false