edu.wpi.cs.dsrg.xmldb.xat.common.visitorpattern
Interface Acceptable
- public interface Acceptable
- extends Visitable
The acceptable should be able to provide all the methods that will be need
to accomplish the traverse of the data structure.
It is the traditional concept of the Visitor which let the visitable objects
provides the traverse functionality.
- Since:
- 1.0
Method Summary |
void |
accept(Visitor visitor)
This method is used to implement a visitor pattern. |
accept
public void accept(Visitor visitor)
- This method is used to implement a visitor pattern.
- Parameters:
visitor
- - Returns:
- void
- Since:
- 1.0