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