Package org.hippoecm.hst.core
Interface ResourceVisitor
-
public interface ResourceVisitor
ResourceVisitorGeneric resource visitor interface for resource traversals.
- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description static Object
CONTINUE_TRAVERSAL
Value to return to continue a traversal.static Object
STOP_TRAVERSAL
A generic value to return to stop a traversal.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
resource(Object resource)
Called at each resource in a traversal.
-
-
-
Method Detail
-
resource
Object resource(Object resource)
Called at each resource in a traversal.- Parameters:
resource
- The resource- Returns:
- CONTINUE_TRAVERSAL (null) if the traversal should continue, or a non-null return value for the traversal method if it should stop. If no return value is useful, the generic non-null value STOP_TRAVERSAL can be used.
-
-