|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.velocity.util.introspection.UberspectImpl.VelMethodImpl
public static class UberspectImpl.VelMethodImpl
Implementation of VelMethod
Constructor Summary | |
---|---|
UberspectImpl.VelMethodImpl(java.lang.reflect.Method m)
|
|
UberspectImpl.VelMethodImpl(java.lang.reflect.Method method,
boolean wrapArray)
|
Method Summary | |
---|---|
protected java.lang.Object |
doInvoke(java.lang.Object o,
java.lang.Object[] actual)
Offers an extension point for subclasses (in alternate Uberspects) to alter the invocation after any array wrapping or varargs handling has already been completed. |
java.lang.String |
getMethodName()
returns the method name used |
java.lang.Class |
getReturnType()
returns the return type of the method invoked |
java.lang.Object |
invoke(java.lang.Object o,
java.lang.Object[] actual)
invocation method - called when the method invocation should be performed and a value returned |
boolean |
isCacheable()
specifies if this VelMethod is cacheable and able to be reused for this class of object it was returned for |
boolean |
isVarArg()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UberspectImpl.VelMethodImpl(java.lang.reflect.Method m)
m
- public UberspectImpl.VelMethodImpl(java.lang.reflect.Method method, boolean wrapArray)
Method Detail |
---|
public java.lang.Object invoke(java.lang.Object o, java.lang.Object[] actual) throws java.lang.Exception
VelMethod
invoke
in interface VelMethod
java.lang.Exception
VelMethod.invoke(java.lang.Object, java.lang.Object[])
protected java.lang.Object doInvoke(java.lang.Object o, java.lang.Object[] actual) throws java.lang.Exception
java.lang.Exception
public boolean isVarArg()
public boolean isCacheable()
VelMethod
isCacheable
in interface VelMethod
VelMethod.isCacheable()
public java.lang.String getMethodName()
VelMethod
getMethodName
in interface VelMethod
VelMethod.getMethodName()
public java.lang.Class getReturnType()
VelMethod
getReturnType
in interface VelMethod
VelMethod.getReturnType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |