Uses of Interface
com.cedarsoftware.util.io.JsonReader.Factory
-
-
Uses of JsonReader.Factory in com.cedarsoftware.util.io
Subinterfaces of JsonReader.Factory in com.cedarsoftware.util.io Modifier and Type Interface Description static interface
JsonReader.ClassFactory
Subclass this interface and create a class that will return a new instance of the passed in Class (c).static interface
JsonReader.ClassFactoryEx
Subclass this interface and create a class that will return a new instance of the passed in Class (c).Classes in com.cedarsoftware.util.io that implement JsonReader.Factory Modifier and Type Class Description static class
JsonReader.CollectionFactory
Use to create new instances of collection interfaces (needed for empty collections)static class
JsonReader.MapFactory
Use to create new instances of Map interfaces (needed for empty Maps).Methods in com.cedarsoftware.util.io with parameters of type JsonReader.Factory Modifier and Type Method Description static void
JsonReader. assignInstantiator(Class c, JsonReader.Factory f)
Assign instantiated by Class.static void
JsonReader. assignInstantiator(String n, JsonReader.Factory f)
For difficult to instantiate classes, you can add your own ClassFactory or ClassFactoryEx which will be called when the passed in class 'c' is encountered.
-