|
||||||||||
| 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.CompositeMessage
| Constructor Summary | |
CompositeMessage(MessageFormats aMessageFormats,
java.lang.String aKey,
java.lang.Object aParameters)
|
|
| Method Summary | |
void |
add(IMessage aMessage)
|
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 |
| Methods inherited from interface org.jbind.message.IMessage |
getOrigin, output |
| Constructor Detail |
public CompositeMessage(MessageFormats 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
isEmpty in interface IMessagetrue iff this message is empty.public boolean isComposite()
IMessage
isComposite in interface IMessagetrue iff the message is a composite message.public java.util.Iterator iterSubMessages()
IMessage
iterSubMessages in interface IMessagepublic java.util.Iterator iterSimpleMessages()
IMessage
iterSimpleMessages in interface IMessageIMessage.
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 AbstractMessagepublic void add(IMessage aMessage)
add in interface ICompositeMessagepublic void addTo(ICompositeMessage aCompositeMessage)
IMessage
addTo in interface IMessageaCompositeMessage - (required). The composite messages to which
sub messages are added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||