public abstract class NewBeanInstanceStrategy
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static NewBeanInstanceStrategy |
DEFAULT
Calls Class.newInstance()
|
| Constructor and Description |
|---|
NewBeanInstanceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
newInstance(java.lang.Class target,
JSONObject source)
Creates a new instance.
|
public static final NewBeanInstanceStrategy DEFAULT
public abstract java.lang.Object newInstance(java.lang.Class target,
JSONObject source)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException
target - the source classsource - additional properties that may be needed to create the
instancejava.lang.InstantiationExceptionjava.lang.IllegalAccessExceptionjava.lang.SecurityExceptionjava.lang.NoSuchMethodExceptionjava.lang.reflect.InvocationTargetExceptionCopyright © 2006-2013 Json-lib. All Rights Reserved.