net.jxta.endpoint
Interface MessageElementEnumeration
- All Superinterfaces:
- java.util.Enumeration
- public interface MessageElementEnumeration
- extends java.util.Enumeration
A typed enumeration of MessageElements. Note nextMessageElement()
returns a MessageElement, instead of an Object.
- See Also:
Message,
MessageElement
| Methods inherited from interface java.util.Enumeration |
hasMoreElements, nextElement |
nextMessageElement
public MessageElement nextMessageElement()
- Returns the next MessageElement in the enumeration.
- Returns:
- MessageElement next MessageElement
hasMoreMessageElements
public boolean hasMoreMessageElements()
- Check if there is still at least one element in the enumeration.
- Returns:
- boolean returns true if there is at least one element in the enumeration, otherwise
returns false.