interfaces
Interface IShapeVisitor

All Known Implementing Classes:
ShapeVisitor

public interface IShapeVisitor

Interface to visit the shape objects

Version:
1.0, 05-Apr-07
Author:
Prathab

Method Summary
 void visit(CircleShape circleShape)
          Visits the CircleShape object to perfom the operation
 void visit(RectangleShape rectangleShape)
          Visits the RectangleShape object to perfom the operation
 void visit(TriangleShape triangleShape)
          Visits the TriangleShape object to perfom the operation
 

Method Detail

visit

void visit(RectangleShape rectangleShape)
Visits the RectangleShape object to perfom the operation

Parameters:
rectangleShape - RectangleShape object to be visited

visit

void visit(CircleShape circleShape)
Visits the CircleShape object to perfom the operation

Parameters:
circleShape - CircleShape object to be visited

visit

void visit(TriangleShape triangleShape)
Visits the TriangleShape object to perfom the operation

Parameters:
triangleShape - TriangleShape object to be visited