|
|||||||||||
| 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
Implementation of VelMethod
| Constructor Summary | |
UberspectImpl.VelMethodImpl(Method m)
|
|
UberspectImpl.VelMethodImpl(Method method,
boolean wrapArray)
|
|
| Method Summary | |
protected Object |
doInvoke(Object o,
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. |
String |
getMethodName()
returns the method name used |
Class |
getReturnType()
returns the return type of the method invoked |
Object |
invoke(Object o,
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(Method m)
m -
public UberspectImpl.VelMethodImpl(Method method,
boolean wrapArray)
| Method Detail |
public Object invoke(Object o,
Object[] actual)
throws Exception
VelMethod
invoke in interface VelMethodo - actual -
ExceptionVelMethod.invoke(java.lang.Object, java.lang.Object[])
protected Object doInvoke(Object o,
Object[] actual)
throws Exception
Exceptionpublic boolean isVarArg()
public boolean isCacheable()
VelMethod
isCacheable in interface VelMethodVelMethod.isCacheable()public String getMethodName()
VelMethod
getMethodName in interface VelMethodVelMethod.getMethodName()public Class getReturnType()
VelMethod
getReturnType in interface VelMethodVelMethod.getReturnType()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||