Package org.eclipse.jetty.util.ajax
Class JSONPojoConvertor.Setter
- java.lang.Object
-
- org.eclipse.jetty.util.ajax.JSONPojoConvertor.Setter
-
- Enclosing class:
- JSONPojoConvertor
public static class JSONPojoConvertor.Setter extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<?>
_componentType
protected JSONPojoConvertor.NumberType
_numberType
protected java.lang.String
_propertyName
protected java.lang.reflect.Method
_setter
protected java.lang.Class<?>
_type
-
Constructor Summary
Constructors Constructor Description Setter(java.lang.String propertyName, java.lang.reflect.Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
getComponentType()
java.lang.reflect.Method
getMethod()
JSONPojoConvertor.NumberType
getNumberType()
java.lang.String
getPropertyName()
java.lang.Class<?>
getType()
void
invoke(java.lang.Object obj, java.lang.Object value)
protected void
invokeObject(java.lang.Object obj, java.lang.Object value)
boolean
isPropertyNumber()
-
-
-
Field Detail
-
_propertyName
protected java.lang.String _propertyName
-
_setter
protected java.lang.reflect.Method _setter
-
_numberType
protected JSONPojoConvertor.NumberType _numberType
-
_type
protected java.lang.Class<?> _type
-
_componentType
protected java.lang.Class<?> _componentType
-
-
Method Detail
-
getPropertyName
public java.lang.String getPropertyName()
-
getMethod
public java.lang.reflect.Method getMethod()
-
getNumberType
public JSONPojoConvertor.NumberType getNumberType()
-
getType
public java.lang.Class<?> getType()
-
getComponentType
public java.lang.Class<?> getComponentType()
-
isPropertyNumber
public boolean isPropertyNumber()
-
invoke
public void invoke(java.lang.Object obj, java.lang.Object value) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
invokeObject
protected void invokeObject(java.lang.Object obj, java.lang.Object value) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Throws:
java.lang.IllegalArgumentException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
-
-