org.apache.velocity.util.introspection
public class UberspectImpl.VelSetterImpl extends java.lang.Object implements VelPropertySet
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
putKey |
(package private) VelMethod |
vm |
Modifier | Constructor and Description |
---|---|
private |
UberspectImpl.VelSetterImpl() |
|
UberspectImpl.VelSetterImpl(VelMethod velmethod) |
|
UberspectImpl.VelSetterImpl(VelMethod velmethod,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName()
returns the method name used to set this 'property'
|
java.lang.Object |
invoke(java.lang.Object o,
java.lang.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
|
VelMethod vm
java.lang.String putKey
public UberspectImpl.VelSetterImpl(VelMethod velmethod)
public UberspectImpl.VelSetterImpl(VelMethod velmethod, java.lang.String key)
private UberspectImpl.VelSetterImpl()
public java.lang.Object invoke(java.lang.Object o, java.lang.Object value) throws java.lang.Exception
VelPropertySet
invoke
in interface VelPropertySet
o
- Object on which the method will be called with the argvalue
- value to be setjava.lang.Exception
public boolean isCacheable()
VelPropertySet
isCacheable
in interface VelPropertySet
public java.lang.String getMethodName()
VelPropertySet
getMethodName
in interface VelPropertySet
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.