org.apache.velocity.test.misc
Class UberspectTestImpl
java.lang.Object
org.apache.velocity.util.introspection.UberspectImpl
org.apache.velocity.test.misc.UberspectTestImpl
- All Implemented Interfaces:
- org.apache.velocity.util.introspection.Uberspect, org.apache.velocity.util.introspection.UberspectLoggable
public class UberspectTestImpl
- extends org.apache.velocity.util.introspection.UberspectImpl
A introspector that allows testing when methods are not found.
| Nested classes/interfaces inherited from class org.apache.velocity.util.introspection.UberspectImpl |
org.apache.velocity.util.introspection.UberspectImpl.VelGetterImpl, org.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl, org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl |
| Fields inherited from class org.apache.velocity.util.introspection.UberspectImpl |
introspector, log |
|
Method Summary |
org.apache.velocity.util.introspection.VelMethod |
getMethod(Object obj,
String methodName,
Object[] args,
org.apache.velocity.util.introspection.Info i)
|
org.apache.velocity.util.introspection.VelPropertyGet |
getPropertyGet(Object obj,
String identifier,
org.apache.velocity.util.introspection.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 |
UberspectTestImpl
public UberspectTestImpl()
getMethod
public org.apache.velocity.util.introspection.VelMethod getMethod(Object obj,
String methodName,
Object[] args,
org.apache.velocity.util.introspection.Info i)
throws Exception
- Specified by:
getMethod in interface org.apache.velocity.util.introspection.Uberspect- Overrides:
getMethod in class org.apache.velocity.util.introspection.UberspectImpl
- Throws:
Exception
getPropertyGet
public org.apache.velocity.util.introspection.VelPropertyGet getPropertyGet(Object obj,
String identifier,
org.apache.velocity.util.introspection.Info i)
throws Exception
- Specified by:
getPropertyGet in interface org.apache.velocity.util.introspection.Uberspect- Overrides:
getPropertyGet in class org.apache.velocity.util.introspection.UberspectImpl
- Throws:
Exception
Copyright © 2000-2010 The Apache Software Foundation. All Rights Reserved.