| org.apache.commons.jexl.util.introspection.VelPropertySet
VelPropertySet | public interface VelPropertySet (Code) | | Interface used for setting values that appear to be properties in Velocity.
Ex.
#set($foo.bar = "hello")
since: 1.0 author: Geir Magnusson Jr. version: $Id: VelPropertySet.java 398515 2006-05-01 03:46:33Z dion $ |
Method Summary | |
String | getMethodName() returns the method name used to set this 'property'. | Object | invoke(Object o, Object arg) 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. |
getMethodName | String getMethodName()(Code) | | returns the method name used to set this 'property'.
the method name. |
invoke | Object invoke(Object o, Object arg) throws Exception(Code) | | method used to set the value in the object.
Parameters: o - Object on which the method will be called with the arg Parameters: arg - value to be set the value returned from the set operation (impl specific) throws: Exception - on any error. |
isCacheable | boolean isCacheable()(Code) | | specifies if this VelPropertySet 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 |
|
|