Package org.apache.velocity.app.event
Class ReferenceInsertionEventHandler.referenceInsertExecutor
java.lang.Object
org.apache.velocity.app.event.ReferenceInsertionEventHandler.referenceInsertExecutor
- All Implemented Interfaces:
EventHandlerMethodExecutor
- Enclosing interface:
- ReferenceInsertionEventHandler
public static class ReferenceInsertionEventHandler.referenceInsertExecutor
extends Object
implements EventHandlerMethodExecutor
Defines the execution strategy for referenceInsert
- Since:
- 1.5
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(EventHandler handler) Call the method referenceInsert()Get return value at end of all the iterationsboolean
isDone()
Continue to end of event handler iteration
-
Field Details
-
context
-
reference
-
value
-
-
Constructor Details
-
referenceInsertExecutor
-
-
Method Details
-
execute
Call the method referenceInsert()- Specified by:
execute
in interfaceEventHandlerMethodExecutor
- Parameters:
handler
- call the appropriate method on this handler
-
getReturnValue
Description copied from interface:EventHandlerMethodExecutor
Get return value at end of all the iterations- Specified by:
getReturnValue
in interfaceEventHandlerMethodExecutor
- Returns:
- null if no return value is required
-
isDone
public boolean isDone()Continue to end of event handler iteration- Specified by:
isDone
in interfaceEventHandlerMethodExecutor
- Returns:
- always returns false
-