public abstract class AbstractMessageEvent extends AbstractEvent implements MessageEvent
MessageEvent. Contains a
MessageEvent.MessageFormatter
instance to hold the message data.MessageEvent.DefaultBodyApplier, MessageEvent.DefaultHeaderApplier, MessageEvent.MessageFormatter| Modifier and Type | Field and Description |
|---|---|
protected MessageEvent.MessageFormatter |
formatter |
protected Text |
originalMessage |
currentOrderPARAM_MESSAGE_BODY, PARAM_MESSAGE_FOOTER, PARAM_MESSAGE_HEADER| Constructor and Description |
|---|
AbstractMessageEvent() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Called once all fields have been set by the generated
constructor in a subclass.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearMessage, getFormatter, getMessage, getOriginalMessage, isMessageCancelled, setMessage, setMessage, setMessage, setMessageCancelledgetCause, getContext, getSourceprotected MessageEvent.MessageFormatter formatter
protected Text originalMessage
protected final void init()
AbstractEventThis method should be used to initialize any fields that depend on parameters passed to the constructor.
init in class AbstractEvent