org.xerial.util.bean.impl
Class ArraySetter
java.lang.Object
org.xerial.util.bean.impl.ArraySetter
- All Implemented Interfaces:
- BeanBinder
public class ArraySetter
- extends Object
ArraySetter
public ArraySetter(Method method,
String parameterName,
Class componentType)
getMethod
public Method getMethod()
- Specified by:
getMethod in interface BeanBinder
setMethod
public void setMethod(Method method)
- Specified by:
setMethod in interface BeanBinder
toString
public String toString()
- Specified by:
toString in interface BeanBinder- Overrides:
toString in class Object
getParameterName
public String getParameterName()
- Specified by:
getParameterName in interface BeanBinder
setParameterName
public void setParameterName(String parameterName)
- Specified by:
setParameterName in interface BeanBinder
getJSONArray
public static JSONArray getJSONArray(Object json,
String key)
constractableTest
public static void constractableTest(Class c)
throws BeanException
- Throws:
BeanException
invokeMethod
protected void invokeMethod(Object bean,
Object[] args)
throws BeanException
- Invoke a method of the bean object, then handle some exceptions if they
occur
- Parameters:
bean - args -
- Throws:
BeanException

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.