Interface FieldDiscoverer.InstanceFactory<I>
- Type Parameters:
I
- intermediate type
- All Known Subinterfaces:
FieldDiscoverer.MutableInstanceFactory<I>
- Enclosing interface:
- FieldDiscoverer<I>
public static interface FieldDiscoverer.InstanceFactory<I>
A handler that controls the deserialization process for an object.
- Since:
- 4.0.0
-
Method Summary
-
Method Details
-
begin
Return a new instance of the intermediary type to be populated.- Returns:
- new intermediate container
- Since:
- 4.0.0
-
complete
Return a finalized object based on the provided intermediate.- Parameters:
intermediate
- intermediate container to hold values- Returns:
- final value
- Throws:
SerializationException
- if unable to construct a- Since:
- 4.0.0
-
canCreateInstances
boolean canCreateInstances()Get whether or not new object instances can be created.- Returns:
- new instance creation
- Since:
- 4.0.0
-