public enum MessageChoice extends Enum<MessageChoice>
Java class for MessageChoice.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MessageChoice"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Request"/> <enumeration value="Response"/> </restriction> </simpleType>
Enum Constant and Description |
---|
REQUEST
process on the xml request
|
RESPONSE
process on the xml response
|
Modifier and Type | Method and Description |
---|---|
static MessageChoice |
fromValue(String v) |
String |
value() |
static MessageChoice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageChoice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageChoice REQUEST
public static final MessageChoice RESPONSE
public static MessageChoice[] values()
for (MessageChoice c : MessageChoice.values()) System.out.println(c);
public static MessageChoice valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static MessageChoice fromValue(String v)
Copyright © 2008–2017 MIL-OSS. All rights reserved.