com.ibm.carma.ui.mapper
Interface IReferenceVisitor


public interface IReferenceVisitor

This interface is implemented by objects that visit navigable trees.

Usage:

 class Visitor implements IReferenceVisitor {
    public boolean visit(ICARMANavigable nav) {
       // your code here
       return true;
    }
 }
 ICARMANavigable root = ...;
 root.accept(new Visitor());
 

Clients may implement this interface.

This interface is not finalized and is subject to change.

Since:
7.0
See Also:
ICARMANavigable.accept(IReferenceVisitor)

Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 boolean visit(ICARMANavigable reference)
          Visits the given reference
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

visit

boolean visit(ICARMANavigable reference)
Visits the given reference

Parameters:
reference - the reference to visit
Returns:
true if the resource's members should be visited; false if they should be skipped