org.apache.velocity.app.event
Class ReferenceInsertionEventHandler.referenceInsertExecutor

java.lang.Object
  extended by 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

Method Summary
 void execute(EventHandler handler)
          Call the method referenceInsert()
 Object getReturnValue()
          Get return value at end of all the iterations
 boolean isDone()
          Continue to end of event handler iteration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(EventHandler handler)
Call the method referenceInsert()

Specified by:
execute in interface EventHandlerMethodExecutor
Parameters:
handler - call the appropriate method on this handler

getReturnValue

public Object getReturnValue()
Description copied from interface: EventHandlerMethodExecutor
Get return value at end of all the iterations

Specified by:
getReturnValue in interface EventHandlerMethodExecutor
Returns:
null if no return value is required

isDone

public boolean isDone()
Continue to end of event handler iteration

Specified by:
isDone in interface EventHandlerMethodExecutor
Returns:
always returns false


Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.