no.sesat.commons.visitor
Interface Visitable
- All Superinterfaces:
- Serializable
public interface Visitable
- extends Serializable
Interface for Classes that will implement the Visitor pattern.
See complimentary Visitor interface.
- Version:
- $Id: Visitable.java 1128 2009-01-21 16:25:47Z ssmiweve $
Method Summary |
void |
accept(Visitor visitor)
Method to accept a visitor. |
accept
void accept(Visitor visitor)
- Method to accept a visitor.
This method usually doesn't do more than
visitor.visit(this);
- Parameters:
visitor
- the visitor knocking on the door.
Copyright © 2009 Schibsted Søk AS. All Rights Reserved.