public enum MediumType extends Enum<MediumType>
Java class for mediumType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="mediumType"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="memory"/> <enumeration value="smartcard"/> <enumeration value="token"/> <enumeration value="MobileDevice"/> <enumeration value="MobileAuthCard"/> </restriction> </simpleType>
Enum Constant and Description |
---|
MEMORY |
MOBILE_AUTH_CARD |
MOBILE_DEVICE |
SMARTCARD |
TOKEN |
Modifier and Type | Method and Description |
---|---|
static MediumType |
fromValue(String v) |
String |
value() |
static MediumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediumType MEMORY
public static final MediumType SMARTCARD
public static final MediumType TOKEN
public static final MediumType MOBILE_DEVICE
public static final MediumType MOBILE_AUTH_CARD
public static MediumType[] values()
for (MediumType c : MediumType.values()) System.out.println(c);
public static MediumType 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 MediumType fromValue(String v)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.