org.mortbay.util.ajax
Class JSONPojoConvertor.Setter

java.lang.Object
  extended by org.mortbay.util.ajax.JSONPojoConvertor.Setter
Enclosing class:
JSONPojoConvertor

public static class JSONPojoConvertor.Setter
extends Object


Constructor Summary
JSONPojoConvertor.Setter(String propertyName, Method method)
           
 
Method Summary
 Method getMethod()
           
 JSONPojoConvertor.NumberType getNumberType()
           
 String getPropertyName()
           
 void invoke(Object obj, Object value)
           
 boolean isPropertyNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONPojoConvertor.Setter

public JSONPojoConvertor.Setter(String propertyName,
                                Method method)
Method Detail

getPropertyName

public String getPropertyName()

getMethod

public Method getMethod()

getNumberType

public JSONPojoConvertor.NumberType getNumberType()

isPropertyNumber

public boolean isPropertyNumber()

invoke

public void invoke(Object obj,
                   Object value)
            throws IllegalArgumentException,
                   IllegalAccessException,
                   InvocationTargetException
Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.