程序包 com.sh.json.util
类 NewBeanInstanceStrategy
java.lang.Object
com.sh.json.util.NewBeanInstanceStrategy
Base class for creating Bean instances.
- DEFAULT - calls Class.newInstance().
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
DEFAULT
Calls Class.newInstance()
-
-
构造器详细资料
-
NewBeanInstanceStrategy
public NewBeanInstanceStrategy()
-
-
方法详细资料
-
newInstance
public abstract Object newInstance(Class target, JSONObject source) throws InstantiationException, IllegalAccessException, SecurityException, NoSuchMethodException, InvocationTargetException Creates a new instance.- 参数:
target- the source classsource- additional properties that may be needed to create the instance- 抛出:
InstantiationExceptionIllegalAccessExceptionSecurityExceptionNoSuchMethodExceptionInvocationTargetException
-