|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdtaus.core.text.Messages
Collection of messages.
| Constructor Summary | |
Messages()
|
|
| Method Summary | |
void |
addMessage(Message message)
Adds a message to the collection. |
void |
addMessages(Messages messages)
Adds messages to the collection. |
void |
clear()
Removes all messages from the collection. |
Object |
clone()
Creates and returns a deep copy of this object. |
Message |
getMessage(int index)
Accessor to an indexed message. |
Message[] |
getMessages()
Getter for property . |
Messages |
getMessages(Class type)
Accessor to messages of a given type. |
void |
removeMessage(Message message)
Removes a message from the collection. |
Messages |
removeMessages(Class type)
Removes messages of a given type. |
void |
removeMessages(Messages messages)
Removes messages from the collection. |
int |
size()
Getter for property . |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Messages()
| Method Detail |
public void addMessage(Message message)
message - the message to add to the collection.
NullPointerException - if is .public final void addMessages(Messages messages)
messages - collection of messages to add to the collection.
NullPointerException - if is .public void clear()
public Object clone()
public final Message getMessage(int index)
index - the index of the message to return.
IndexOutOfBoundsException - if is negativ,
greater than or equal to .public Message[] getMessages()
public final Messages getMessages(Class type)
type - the type of the messages to return.
NullPointerException - if is .public void removeMessage(Message message)
message - the message to remove from the collection.
NullPointerException - if is .public final Messages removeMessages(Class type)
type - the type of the messages to remove.
NullPointerException - if is .public final void removeMessages(Messages messages)
messages - collection of messages to remove from the collection.
NullPointerException - if is .public final int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||