Package | Description |
---|---|
com.cedarsoftware.util.io | |
com.cedarsoftware.util.io.factory |
Modifier and Type | Method and Description |
---|---|
JsonReader.ClassFactory |
ReadOptions.getClassFactory(Class<?> c)
Get the ClassFactory associated to the passed in class.
|
JsonReader.ClassFactory |
ReadOptionsBuilder.DefaultReadOptions.getClassFactory(Class<?> c)
Get the ClassFactory associated to the passed in class.
|
Modifier and Type | Method and Description |
---|---|
ReadOptionsBuilder |
ReadOptionsBuilder.addClassFactory(Class<?> clazz,
JsonReader.ClassFactory factory)
Associate a ClassFactory to a Class that needs help being constructed and read in.
|
static void |
ReadOptionsBuilder.addPermanentClassFactory(Class<?> sourceClass,
JsonReader.ClassFactory factory)
Call this method to add a permanent (JVM lifetime) coercion of one
class to another during instance creation.
|
static void |
ReadOptionsBuilder.assignInstantiator(Class<?> classToCreate,
JsonReader.ClassFactory factory) |
Modifier and Type | Method and Description |
---|---|
ReadOptionsBuilder |
ReadOptionsBuilder.replaceClassFactories(Map<Class<?>,? extends JsonReader.ClassFactory> factories)
Associate multiple ClassFactory instances to Classes that needs help being constructed and read in.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayFactory<T> |
class |
CharacterPrimArrayFactory |
class |
CollectionFactory
Deprecated.
|
class |
ConvertableFactory<T> |
class |
EnumClassFactory |
class |
MapFactory
Deprecated.
|
class |
RecordFactory |
class |
StackTraceElementFactory
Factory class to create Throwable instances.
|
class |
ThrowableFactory
Factory class to create Throwable instances.
|
Copyright © 2024. All rights reserved.