org.pfsw.odem
Interface IStructureVisiting

All Superinterfaces:
IExplorableElementVisiting
All Known Subinterfaces:
IContainer
All Known Implementing Classes:
ClassContainer, GenericClassContainer, NotFoundClassContainer, SoftwareComponent

public interface IStructureVisiting
extends IExplorableElementVisiting

Specifies the methods a holder of exploration structures such as namespaces and containers must implement.

Version:
1.0
Author:
M.Duchrow

Method Summary
 boolean acceptContainers(IContainersVisitor visitor)
          Implementation of the visitor pattern (GOF).
 boolean acceptNamespaces(INamespacesVisitor visitor)
          Implementation of the visitor pattern (GOF).
 
Methods inherited from interface org.pfsw.odem.IExplorableElementVisiting
accept, acceptTypes
 

Method Detail

acceptContainers

boolean acceptContainers(IContainersVisitor visitor)
Implementation of the visitor pattern (GOF). It iterates (recursivly) over all contained IContainer objects and invokes the visitor's callback method using the containers as parameter.

Parameters:
visitor - The implementor of the vistor interface to be called by this method
Returns:
true if processing should be continued, otherwise false

acceptNamespaces

boolean acceptNamespaces(INamespacesVisitor visitor)
Implementation of the visitor pattern (GOF). It iterates (recursivly) over all contained INamespace objects and invokes the visitor's callback method using the namespaces as parameter.

Parameters:
visitor - The implementor of the vistor interface to be called by this method
Returns:
true if processing should be continued, otherwise false