public static enum TopicBase.TopicType extends java.lang.Enum<TopicBase.TopicType> implements FormatUnmarshaller<Topic>
| Enum Constant and Description |
|---|
STRING_TOPIC |
UNMARSHALL |
| Modifier and Type | Method and Description |
|---|---|
Topic |
unmarshall(FormatReader mFormat)
Unmarshall this type from a message input object.
|
static TopicBase.TopicType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TopicBase.TopicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicBase.TopicType UNMARSHALL
public static final TopicBase.TopicType STRING_TOPIC
public static TopicBase.TopicType[] values()
for (TopicBase.TopicType c : TopicBase.TopicType.values()) System.out.println(c);
public static TopicBase.TopicType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic Topic unmarshall(FormatReader mFormat) throws FormatException
unmarshall in interface FormatUnmarshaller<Topic>mInput - - The input to read from.java.io.IOExceptionFormatException - If there was a problem while reading