public interface RepresentationHandler
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserializeFromRepresentation(Representation repr,
java.util.function.Function<java.lang.String,RepresentationRestorer> getRegisteredRestorer)
Deserializes the given representation using the given representation restorers.
|
Representation |
serializeToRepresentation(java.lang.Object object)
Serializes (creates a representation of) the given object.
|
java.lang.Object deserializeFromRepresentation(Representation repr, java.util.function.Function<java.lang.String,RepresentationRestorer> getRegisteredRestorer)
repr - the representation to deserializegetRegisteredRestorer - maps representation restorer names to the restorersRepresentation serializeToRepresentation(java.lang.Object object)
object - the object to serialize