org.apache.wicket.util.visit
Interface IVisitFilter

All Known Implementing Classes:
ClassVisitFilter

public interface IVisitFilter

A filter that can be used to restrict the types of objects visited by the visitor

Author:
igor.vaynberg

Field Summary
static IVisitFilter ANY
          A visitor filter that allows all objects and their children to be visited
 
Method Summary
 boolean visitChildren(java.lang.Object object)
          Controls whether or not the object's children will be visited
 boolean visitObject(java.lang.Object object)
          Controls whether or not the object will be visited
 

Field Detail

ANY

static final IVisitFilter ANY
A visitor filter that allows all objects and their children to be visited

Method Detail

visitObject

boolean visitObject(java.lang.Object object)
Controls whether or not the object will be visited

Parameters:
object -
Returns:
true if the object should be visited

visitChildren

boolean visitChildren(java.lang.Object object)
Controls whether or not the object's children will be visited

Parameters:
object -
Returns:
true if the object's children should be visited


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