|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extends the MessageType interface and allows sub message types to be retrieved using the sub message's name.
MessageNC
Field Summary |
Fields inherited from interface org.objectweb.dream.message.MessageType |
EMPTY_MESSAGE_TYPE_ARRAY |
Method Summary | |
String[] |
getSubMessageNames()
Returns an (eventually empty) array containing the sub message's names of messages of this type. |
Iterator |
getSubMessageNamesIterator()
Returns an iterator over the sub message's names of messages of this type. |
MessageType |
getSubMessageType(String name)
Returns the type of the sub message having the specified name. |
MessageType[] |
getUnnamedSubMessageTypes()
Returns an (eventually empty) array containing the types of the unnamed sub messages of messages of this type. |
Iterator |
getUnnamedSubMessageTypesIterator()
Returns an iterator over the types of the unnamed sub messages of messages of this type. |
Methods inherited from interface org.objectweb.dream.message.MessageType |
getChunkNames, getChunkNamesIterator, getChunkType, getSubMessageTypes, getSubMessageTypesIterator, isEmpty, isSubTypeOf |
Method Detail |
public MessageType getSubMessageType(String name)
name
- the name of one of the message types returned by
getSubMessageNames()
.
null
if no sub message with the specified name
exists.public String[] getSubMessageNames()
public Iterator getSubMessageNamesIterator()
public MessageType[] getUnnamedSubMessageTypes()
public Iterator getUnnamedSubMessageTypesIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |