java.lang.Object
org.apache.wicket.util.visit.ClassVisitFilter
- All Implemented Interfaces:
IVisitFilter
IVisitFilter that restricts visitors to only visiting objects of the specified class- Author:
- igor.vaynberg
-
Field Summary
Fields inherited from interface org.apache.wicket.util.visit.IVisitFilter
ANY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvisitChildren(Object object) Controls whether or not theobject's children will be visitedbooleanvisitObject(Object object) Controls whether or not theobjectwill be visited
-
Constructor Details
-
ClassVisitFilter
Constructor- Parameters:
clazz- class of objects that visitors should be restricted to
-
-
Method Details
-
visitChildren
Controls whether or not theobject's children will be visited- Specified by:
visitChildrenin interfaceIVisitFilter- Returns:
trueif the object's children should be visited
-
visitObject
Controls whether or not theobjectwill be visited- Specified by:
visitObjectin interfaceIVisitFilter- Returns:
trueif the object should be visited
-