public static enum Requestmode.Type extends Enum<Requestmode.Type>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:restriction base="xs:string">
<xs:enumeration value="ACTIVE"/>
<xs:enumeration value="PASSIVE"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Method and Description |
|---|---|
static Requestmode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Requestmode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Requestmode.Type ACTIVE
public static final Requestmode.Type PASSIVE
public static Requestmode.Type[] values()
for (Requestmode.Type c : Requestmode.Type.values()) System.out.println(c);
public static Requestmode.Type 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 nullCopyright © 2016. All Rights Reserved.