com.dyuproject.json
Class StandardPojoConvertor.StandardSetter
java.lang.Object
org.mortbay.util.ajax.JSONPojoConvertor.Setter
com.dyuproject.json.StandardPojoConvertor.StandardSetter
- Direct Known Subclasses:
- OverloadPojoConvertor.OverloadSetter, SimpleJSONConsumer.ValidatingSetter
- Enclosing class:
- StandardPojoConvertor
public static class StandardPojoConvertor.StandardSetter
- extends org.mortbay.util.ajax.JSONPojoConvertor.Setter
The standard setter. If overloading is needed, use
OverloadPojoConvertor.OverloadSetter
instead.
Fields inherited from class org.mortbay.util.ajax.JSONPojoConvertor.Setter |
_componentType, _method, _numberType, _propertyName, _type |
Methods inherited from class org.mortbay.util.ajax.JSONPojoConvertor.Setter |
getComponentType, getMethod, getNumberType, getPropertyName, getType, invokeObject, isPropertyNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LIST
protected static final int LIST
- See Also:
- Constant Field Values
SET
protected static final int SET
- See Also:
- Constant Field Values
_collectionType
protected int _collectionType
StandardPojoConvertor.StandardSetter
public StandardPojoConvertor.StandardSetter(String propertyName,
Method method)
invoke
public void invoke(Object obj,
Object value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Overrides:
invoke
in class org.mortbay.util.ajax.JSONPojoConvertor.Setter
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
invokeObject
public static boolean invokeObject(Object obj,
Object value,
StandardPojoConvertor.StandardSetter setter)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
Copyright © 2008-2013. All Rights Reserved.