Interface IVisitor<T,R>

Type Parameters:
T - type of object to be visited
R - type of value the visitor should return as the result of the visit/traversal
All Known Implementing Classes:
DeepChildFirstVisitor, Form.ValidationVisitor

public interface IVisitor<T,R>

Generic visitor interface for traversals.

Method Summary
 void component(T object, IVisit<R> visit)
          Called at each object in a visit.

Method Detail


void component(T object,
               IVisit<R> visit)
Called at each object in a visit.

object - Object being visited
visit - Object used to control the visit/traversal

Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.