Package org.trellisldp.event.jackson
Class DefaultEventSerializationService
- java.lang.Object
-
- org.trellisldp.event.jackson.DefaultEventSerializationService
-
- All Implemented Interfaces:
EventSerializationService
@ApplicationScoped public class DefaultEventSerializationService extends Object implements EventSerializationService
AnEventSerializationService
that serializes anEvent
object into an ActivityStream-compliant JSON string.
-
-
Constructor Summary
Constructors Constructor Description DefaultEventSerializationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
serialize(Event event)
Serialize an event object into some concrete syntax.
-
-
-
Method Detail
-
serialize
public String serialize(Event event)
Description copied from interface:EventSerializationService
Serialize an event object into some concrete syntax.- Specified by:
serialize
in interfaceEventSerializationService
- Parameters:
event
- the event- Returns:
- a serialization
-
-