Package org.faktorips.runtime
Class GenericVisitorSupport
java.lang.Object
org.faktorips.runtime.GenericVisitorSupport
- All Implemented Interfaces:
IVisitorSupport
- Implementation Note:
- This implementation uses generic access via the
IpsModel, so generating your classes with visitor support will be more efficient if you have access to the project's generator settings. - Since:
- 21.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(IModelObjectVisitor visitor) Accepts the given visitor.
-
Constructor Details
-
GenericVisitorSupport
-
-
Method Details
-
accept
Description copied from interface:IVisitorSupportAccepts the given visitor. This results in a call to the visitor's visit method for this object and, if it returnstrue, to all its children recursively.- Specified by:
acceptin interfaceIVisitorSupport- Parameters:
visitor- the visitor to accept- Returns:
- the result of the visitor's visit method
- See Also:
-