|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jexl.util.introspection.UberspectImpl.VelSetterImpl
{@inheritDoc}
Field Summary | |
---|---|
protected String |
putKey
the key for indexed and other properties. |
protected VelMethod |
vm
the method to call. |
Constructor Summary | |
---|---|
UberspectImpl.VelSetterImpl(VelMethod velmethod)
Create an instance. |
|
UberspectImpl.VelSetterImpl(VelMethod velmethod,
String key)
Create an instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected VelMethod vm
protected String putKey
Constructor Detail |
public UberspectImpl.VelSetterImpl(VelMethod velmethod)
velmethod
- the method to call on set.public UberspectImpl.VelSetterImpl(VelMethod velmethod, String key)
velmethod
- the method to call on set.key
- the index or other value passed to a
setProperty(xxx, value) method.Method Detail |
public Object invoke(Object o, Object value) throws Exception
invoke
in interface VelPropertySet
o
- Object on which the method will be called with the argvalue
- value to be set
Exception
- on any error.public boolean isCacheable()
isCacheable
in interface VelPropertySet
public String getMethodName()
getMethodName
in interface VelPropertySet
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |