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 java.lang.Object implements EventHandlerMethodExecutor
Defines the execution strategy for referenceInsert- Since:
- 1.5
-
-
Constructor Summary
Constructors Constructor Description referenceInsertExecutor(Context context, java.lang.String reference, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(EventHandler handler)
Call the method referenceInsert()java.lang.Object
getReturnValue()
Get return value at end of all the iterationsboolean
isDone()
Continue to end of event handler iteration
-
-
-
Field Detail
-
context
private Context context
-
reference
private java.lang.String reference
-
value
private java.lang.Object value
-
-
Constructor Detail
-
referenceInsertExecutor
referenceInsertExecutor(Context context, java.lang.String reference, java.lang.Object value)
-
-
Method Detail
-
execute
public void execute(EventHandler handler)
Call the method referenceInsert()- Specified by:
execute
in interfaceEventHandlerMethodExecutor
- Parameters:
handler
- call the appropriate method on this handler
-
getReturnValue
public java.lang.Object 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
-
-