- 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
FieldsModifier and TypeFieldDescriptionstatic final IVisitFilterA visitor filter that allows all objects and their children to be visited -
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
-
Field Details
-
ANY
A visitor filter that allows all objects and their children to be visited
-
-
Method Details
-
visitObject
Controls whether or not theobjectwill be visited- Parameters:
object-- Returns:
trueif the object should be visited
-
visitChildren
Controls whether or not theobject's children will be visited- Parameters:
object-- Returns:
trueif the object's children should be visited
-