|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This component converts Event
objects from and into strings.
If the event is a ConvertableEvent
the event itself does the
converting, if not it's up to the implementation of this component
to do the conversion.
Field Summary | |
static String |
ROLE
|
Method Summary | |
Event |
decode(String value)
Decode an event. |
String |
encode(Event event)
Encode an event. |
void |
finish()
This notifies the converter that an event processing phase ends. |
void |
start()
This notifies the converter that a new event processing phase starts. |
Field Detail |
public static final String ROLE
Method Detail |
public String encode(Event event)
event
- The event to encode
public Event decode(String value)
value
- The string representation created using encode(Event)
public void start()
public void finish()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |