org.apache.velocity.util.introspection
Class UberspectImpl.VelSetterImpl
java.lang.Object
org.apache.velocity.util.introspection.UberspectImpl.VelSetterImpl
- UberspectImpl
- VelPropertySet
public class UberspectImpl.VelSetterImpl
extends java.lang.Object
String | getMethodName() - returns the method name used to set this 'property'
|
Object | invoke(Object o, Object value) - method used to set the value in the object
|
boolean | isCacheable() - specifies if this VelPropertySet is cacheable and able to be
reused for this class of object it was returned for
|
putKey
(package private) String putKey
VelSetterImpl
private VelSetterImpl()
VelSetterImpl
public VelSetterImpl(VelMethod velmethod)
VelSetterImpl
public VelSetterImpl(VelMethod velmethod,
String key)
getMethodName
public String getMethodName()
returns the method name used to set this 'property'
- getMethodName in interface VelPropertySet
invoke
public Object invoke(Object o,
Object value)
throws Exception
method used to set the value in the object
- invoke in interface VelPropertySet
o
- Object on which the method will be called with the arg
- the value returned from the set operation (impl specific)
isCacheable
public boolean isCacheable()
specifies if this VelPropertySet is cacheable and able to be
reused for this class of object it was returned for
- isCacheable in interface VelPropertySet
- true if can be reused for this class, false if not
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.