org.apache.velocity.test
Class InvalidEventHandlerTestCase.TestEventCartridge

java.lang.Object
  extended by org.apache.velocity.test.InvalidEventHandlerTestCase.TestEventCartridge
All Implemented Interfaces:
org.apache.velocity.app.event.EventHandler, org.apache.velocity.app.event.InvalidReferenceEventHandler, org.apache.velocity.util.RuntimeServicesAware
Enclosing class:
InvalidEventHandlerTestCase

public static class InvalidEventHandlerTestCase.TestEventCartridge
extends Object
implements org.apache.velocity.app.event.InvalidReferenceEventHandler, org.apache.velocity.util.RuntimeServicesAware

Test assigning the event handlers via properties


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.velocity.app.event.InvalidReferenceEventHandler
org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidGetMethodExecutor, org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidMethodExecutor, org.apache.velocity.app.event.InvalidReferenceEventHandler.InvalidSetMethodExecutor
 
Constructor Summary
InvalidEventHandlerTestCase.TestEventCartridge()
           
 
Method Summary
 Object invalidGetMethod(org.apache.velocity.context.Context context, String reference, Object object, String property, org.apache.velocity.util.introspection.Info info)
           
 Object invalidMethod(org.apache.velocity.context.Context context, String reference, Object object, String method, org.apache.velocity.util.introspection.Info info)
           
 boolean invalidSetMethod(org.apache.velocity.context.Context context, String leftreference, String rightreference, org.apache.velocity.util.introspection.Info info)
           
 void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices rs)
          Required by EventHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidEventHandlerTestCase.TestEventCartridge

public InvalidEventHandlerTestCase.TestEventCartridge()
Method Detail

setRuntimeServices

public void setRuntimeServices(org.apache.velocity.runtime.RuntimeServices rs)
Required by EventHandler

Specified by:
setRuntimeServices in interface org.apache.velocity.util.RuntimeServicesAware

invalidGetMethod

public Object invalidGetMethod(org.apache.velocity.context.Context context,
                               String reference,
                               Object object,
                               String property,
                               org.apache.velocity.util.introspection.Info info)
Specified by:
invalidGetMethod in interface org.apache.velocity.app.event.InvalidReferenceEventHandler

invalidMethod

public Object invalidMethod(org.apache.velocity.context.Context context,
                            String reference,
                            Object object,
                            String method,
                            org.apache.velocity.util.introspection.Info info)
Specified by:
invalidMethod in interface org.apache.velocity.app.event.InvalidReferenceEventHandler

invalidSetMethod

public boolean invalidSetMethod(org.apache.velocity.context.Context context,
                                String leftreference,
                                String rightreference,
                                org.apache.velocity.util.introspection.Info info)
Specified by:
invalidSetMethod in interface org.apache.velocity.app.event.InvalidReferenceEventHandler


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