org.apache.commons.jexl.util.introspection

Class UberspectImpl.VelSetterImpl

public class UberspectImpl.VelSetterImpl extends Object implements VelPropertySet

{@inheritDoc }
Field Summary
protected StringputKey
the key for indexed and other properties.
protected VelMethodvm
the method to call.
Constructor Summary
VelSetterImpl(VelMethod velmethod)
Create an instance.
VelSetterImpl(VelMethod velmethod, String key)
Create an instance.
Method Summary
StringgetMethodName()
Objectinvoke(Object o, Object value)
booleanisCacheable()

Field Detail

putKey

protected String putKey
the key for indexed and other properties.

vm

protected VelMethod vm
the method to call.

Constructor Detail

VelSetterImpl

public VelSetterImpl(VelMethod velmethod)
Create an instance.

Parameters: velmethod the method to call on set.

VelSetterImpl

public VelSetterImpl(VelMethod velmethod, String key)
Create an instance.

Parameters: velmethod the method to call on set. key the index or other value passed to a setProperty(xxx, value) method.

Method Detail

getMethodName

public String getMethodName()
{@inheritDoc }

invoke

public Object invoke(Object o, Object value)
{@inheritDoc }

isCacheable

public boolean isCacheable()
{@inheritDoc }
Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.