org.apache.velocity.test.misc
Class UberspectTestImpl

java.lang.Object
  extended by org.apache.velocity.util.introspection.UberspectImpl
      extended by org.apache.velocity.test.misc.UberspectTestImpl
All Implemented Interfaces:
Uberspect, UberspectLoggable

public class UberspectTestImpl
extends UberspectImpl

A introspector that allows testing when methods are not found.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.velocity.util.introspection.UberspectImpl
UberspectImpl.VelGetterImpl, UberspectImpl.VelMethodImpl, UberspectImpl.VelSetterImpl
 
Field Summary
 
Fields inherited from class org.apache.velocity.util.introspection.UberspectImpl
introspector, log
 
Constructor Summary
UberspectTestImpl()
           
 
Method Summary
 VelMethod getMethod(Object obj, String methodName, Object[] args, Info i)
           
 VelPropertyGet getPropertyGet(Object obj, String identifier, Info i)
           
 
Methods inherited from class org.apache.velocity.util.introspection.UberspectImpl
getIterator, getPropertySet, init, setLog, setRuntimeLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UberspectTestImpl

public UberspectTestImpl()
Method Detail

getMethod

public VelMethod getMethod(Object obj,
                           String methodName,
                           Object[] args,
                           Info i)
                    throws Exception
Specified by:
getMethod in interface Uberspect
Overrides:
getMethod in class UberspectImpl
Throws:
Exception

getPropertyGet

public VelPropertyGet getPropertyGet(Object obj,
                                     String identifier,
                                     Info i)
                              throws Exception
Specified by:
getPropertyGet in interface Uberspect
Overrides:
getPropertyGet in class UberspectImpl
Throws:
Exception


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