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 |
currentOrder
PARAM_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, wait
clearMessage, getFormatter, getMessage, getOriginalMessage, isMessageCancelled, setMessage, setMessage, setMessage, setMessageCancelled
getCause, getContext, getSource
protected MessageEvent.MessageFormatter formatter
protected Text originalMessage
protected final void init()
AbstractEvent
This method should be used to initialize any fields that depend on parameters passed to the constructor.
init
in class AbstractEvent