org.pfsw.odem
Interface IExplorableElementVisiting

All Known Subinterfaces:
IContainer, IExplorableElement, INamespace, IStructureVisiting, IType

public interface IExplorableElementVisiting

Specifies all methods that are necessary to fully provide the "Vistor Pattern" in conjunction with the IxxxVisitor interfaces defined here in the same package.

Version:
1.0
Author:
M.Duchrow

Method Summary
 boolean accept(IExplorableElementVisitor visitor)
          Implementation of the visitor pattern (GOF) for all derived interfaces if IExplorableElement.
 boolean acceptTypes(ITypesVisitor visitor)
          Implementation of the visitor pattern (GOF) for all derived interfaces if IExplorableElement.
 

Method Detail

accept

boolean accept(IExplorableElementVisitor visitor)
Implementation of the visitor pattern (GOF) for all derived interfaces if IExplorableElement.

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

acceptTypes

boolean acceptTypes(ITypesVisitor visitor)
Implementation of the visitor pattern (GOF) for all derived interfaces if IExplorableElement. It iterates (recursivly) over all contained IType objects and invokes the visitors callback method using the types 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