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
Constructors -
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:EventSerializerSerialize an event to string.- Specified by:
eventToStringin interfaceEventSerializer- Parameters:
eventToSerialize- the event to serialize.- Returns:
- the string corresponding to the event.
-