org.apache.tuscany.sca.assembly
Interface Visitable

All Known Subinterfaces:
Component, Composite, RuntimeComponent

public interface Visitable

This interface is implemented by object that can accept a visitor.


Method Summary
 boolean accept(Visitor visitor)
          Accepts the given visitor.
 

Method Detail

accept

boolean accept(Visitor visitor)
Accepts the given visitor. The visitor's visit method is called with this model object. If the visitor returns true, this method visits this object's children.

Parameters:
visitor -
Returns:
true if the model object's chidren should be visited, false if they should be skipped