org.apache.velocity.util.introspection
Interface VelPropertyGet
- UberspectImpl.VelGetterImpl
public interface VelPropertyGet
Interface defining a 'getter'. For uses when looking for resolution of
property references
$foo.bar
$Id: VelPropertyGet.java,v 1.1.4.1 2004/03/03 23:23:08 geirm Exp $ String | getMethodName() - returns the method name used to return this 'property'
|
Object | invoke(Object o) - invocation method - called when the 'get action' should be
preformed and a value returned
|
boolean | isCacheable() - specifies if this VelPropertyGet is cacheable and able to be
reused for this class of object it was returned for
|
getMethodName
public String getMethodName()
returns the method name used to return this 'property'
invoke
public Object invoke(Object o)
throws Exception
invocation method - called when the 'get action' should be
preformed and a value returned
isCacheable
public boolean isCacheable()
specifies if this VelPropertyGet is cacheable and able to be
reused for this class of object it was returned for
- true if can be reused for this class, false if not
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.