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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(EventHandler handler)Call the method referenceInsert()java.lang.ObjectgetReturnValue()Get return value at end of all the iterationsbooleanisDone()Continue to end of event handler iteration
-
-
-
Method Detail
-
execute
public void execute(EventHandler handler)
Call the method referenceInsert()- Specified by:
executein interfaceEventHandlerMethodExecutor- Parameters:
handler- call the appropriate method on this handler
-
getReturnValue
public java.lang.Object getReturnValue()
Description copied from interface:EventHandlerMethodExecutorGet return value at end of all the iterations- Specified by:
getReturnValuein interfaceEventHandlerMethodExecutor- Returns:
- null if no return value is required
-
isDone
public boolean isDone()
Continue to end of event handler iteration- Specified by:
isDonein interfaceEventHandlerMethodExecutor- Returns:
- always returns false
-
-