Class EventSerializerImpl
java.lang.Object
application.presenter.event.serialization.EventSerializerImpl
- All Implemented Interfaces:
EventSerializer
Implementation of the
EventSerializer
interface that allows an event to be
serialized to String.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioneventToString
(Event<?> eventToSerialize) Serialize an event to string.
-
Constructor Details
-
EventSerializerImpl
public EventSerializerImpl()Default constructor.
-
-
Method Details
-
eventToString
Description copied from interface:EventSerializer
Serialize an event to string.- Specified by:
eventToString
in interfaceEventSerializer
- Parameters:
eventToSerialize
- the event to serialize.- Returns:
- the string corresponding to the event.
-