Package rea.components
Interface Visitor
- All Known Implementing Classes:
SimpleVisitor
public interface Visitor
The Visitor interface.
- Author:
- José Paulo Leal
jpleal@fc.up.pt
- Implementation Note:
- abstract component of the design pattern with the same name.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Do a visit to a character in the composite structurevoid
Do a visit to an item in the composite structurevoid
Do a visit to a passage in the composite structurevoid
Do a visit to a place in the composite structure
-
Method Details
-
visit
Do a visit to a character in the composite structure- Parameters:
character
- to be visited
-
visit
Do a visit to a place in the composite structure- Parameters:
place
- to be visited
-
visit
Do a visit to an item in the composite structure- Parameters:
item
- to be visited
-
visit
Do a visit to a passage in the composite structure- Parameters:
passage
- to be visited
-