|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.generic.msgcontainer.NullMsgContainer
public final class NullMsgContainer
Implementation of a message container that does nothing. All messages will be discarded. This class is a singleton.
| Method Summary | |
|---|---|
void |
addMsg(java.lang.Object source,
java.lang.String msg)
Adds a message to the message list. |
void |
addMsg(java.lang.Object source,
java.lang.String msg,
java.lang.Object[] args)
Adds a message to the message list. |
void |
addMsg(java.lang.String msgType,
java.lang.Object source,
java.lang.String msg)
Adds a message to the message list. |
void |
addMsg(java.lang.String msgType,
java.lang.Object source,
java.lang.String msg,
java.lang.Object[] args)
Adds a message to the message list. |
static NullMsgContainer |
getInstance()
Gets the singleton instance of this class. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static NullMsgContainer getInstance()
public void addMsg(java.lang.Object source,
java.lang.String msg,
java.lang.Object[] args)
MsgFormat class.
addMsg in interface MsgContainersource - Object that caused the messagemsg - Message to addargs - Message arguments or null
public void addMsg(java.lang.Object source,
java.lang.String msg)
addMsg in interface MsgContainersource - Object that caused the messagemsg - Message to add
public void addMsg(java.lang.String msgType,
java.lang.Object source,
java.lang.String msg,
java.lang.Object[] args)
MsgFormat class.
addMsg in interface MsgContainermsgType - Message typesource - Object that caused the messagemsg - Message to addargs - Message arguments or null
public void addMsg(java.lang.String msgType,
java.lang.Object source,
java.lang.String msg)
addMsg in interface MsgContainermsgType - Message typesource - Object that caused the messagemsg - Message to addpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||