velosurf.util
Class VelosurfUberspector.VelParametrizedGetterMethod

java.lang.Object
  extended by velosurf.util.VelosurfUberspector.VelParametrizedGetterMethod
All Implemented Interfaces:
org.apache.velocity.util.introspection.VelMethod
Enclosing class:
VelosurfUberspector

public static class VelosurfUberspector.VelParametrizedGetterMethod
extends java.lang.Object
implements org.apache.velocity.util.introspection.VelMethod


Field Summary
protected  java.lang.String key
           
protected  java.lang.reflect.Method method
           
 
Constructor Summary
VelosurfUberspector.VelParametrizedGetterMethod(java.lang.String k, java.lang.reflect.Method m)
           
 
Method Summary
 java.lang.String getMethodName()
           
 java.lang.Class getReturnType()
           
 java.lang.Object invoke(java.lang.Object obj, java.lang.Object[] args)
           
 boolean isCacheable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected java.lang.String key

method

protected java.lang.reflect.Method method
Constructor Detail

VelosurfUberspector.VelParametrizedGetterMethod

public VelosurfUberspector.VelParametrizedGetterMethod(java.lang.String k,
                                                       java.lang.reflect.Method m)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object obj,
                               java.lang.Object[] args)
                        throws java.lang.Exception
Specified by:
invoke in interface org.apache.velocity.util.introspection.VelMethod
Throws:
java.lang.Exception

isCacheable

public boolean isCacheable()
Specified by:
isCacheable in interface org.apache.velocity.util.introspection.VelMethod

getMethodName

public java.lang.String getMethodName()
Specified by:
getMethodName in interface org.apache.velocity.util.introspection.VelMethod

getReturnType

public java.lang.Class getReturnType()
Specified by:
getReturnType in interface org.apache.velocity.util.introspection.VelMethod


~ooOoo~