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 interfaceJsonReader.ClassFactorySubclass this interface and create a class that will return a new instance of the passed in Class (c).static interfaceJsonReader.ClassFactoryExSubclass 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 classJsonReader.CollectionFactoryUse to create new instances of collection interfaces (needed for empty collections)static classJsonReader.MapFactoryUse 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 voidJsonReader. assignInstantiator(Class c, JsonReader.Factory f)Assign instantiated by Class.static voidJsonReader. 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.
-