Package rea.components
Interface Element
public interface Element
The Element interface.* This type ust be added to the Component of the
Composite to ensure that all types of the structure implement it.
- Author:
- José Paulo Leal
jpleal@fc.up.pt
- Implementation Note:
- abstract component of the Visitordesign pattern with the same name.
-
Method Summary
-
Method Details
-
accept
Accept a visitor to operate on a node of the composite structure- Parameters:
visitor
- to the node
-