|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbind.message.AbstractMessage
org.jbind.message.SimpleMessage
| Constructor Summary | |
SimpleMessage(IMessageFormats aMessageFormats,
java.lang.String aKey,
java.lang.Object aParameters)
|
|
| Method Summary | |
void |
addTo(ICompositeMessage aCompositeMessage)
Adds this message as a sub message to the specified composite message. |
protected java.lang.Object |
getParameters(java.util.Locale aLocale)
|
boolean |
isComposite()
Indicates if the message is a composite message. |
boolean |
isEmpty()
Checks for emptiness. |
java.util.Iterator |
iterSimpleMessages()
Iterates all simple messages contained in the message. |
java.util.Iterator |
iterSubMessages()
Iterates the sub-messages of this message. |
java.lang.String |
output(java.util.Locale aLocale,
boolean anIndent,
boolean anOutputContainerLines)
Outputs this message and all of its sub-messages. |
| Methods inherited from class org.jbind.message.AbstractMessage |
getOrigin, output, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimpleMessage(IMessageFormats aMessageFormats,
java.lang.String aKey,
java.lang.Object aParameters)
| Method Detail |
protected java.lang.Object getParameters(java.util.Locale aLocale)
getParameters in class AbstractMessagepublic boolean isEmpty()
IMessage
true iff this message is empty.public boolean isComposite()
IMessage
true iff the message is a composite message.public java.util.Iterator iterSubMessages()
IMessage
public java.util.Iterator iterSimpleMessages()
IMessage
IMessage.public void addTo(ICompositeMessage aCompositeMessage)
IMessage
aCompositeMessage - (required). The composite messages to which
sub messages are added.
public java.lang.String output(java.util.Locale aLocale,
boolean anIndent,
boolean anOutputContainerLines)
IMessageBest efforts are undertaken that the message is output using the specified locale. However, if the message can not be output using the specified locale then another locale is used.
output in interface IMessageoutput in class AbstractMessage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||