public enum MachineReadableEnumeration extends Enum<MachineReadableEnumeration>
Java class for MachineReadableEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MachineReadableEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="none"/>
<enumeration value="magneticStrip"/>
<enumeration value="chip"/>
<enumeration value="ocr"/>
<enumeration value="barCode"/>
<enumeration value="nfc"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BAR_CODE |
CHIP |
MAGNETIC_STRIP |
NFC |
NONE |
OCR |
OTHER |
| Modifier and Type | Method and Description |
|---|---|
static MachineReadableEnumeration |
fromValue(String v) |
String |
value() |
static MachineReadableEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MachineReadableEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MachineReadableEnumeration NONE
public static final MachineReadableEnumeration MAGNETIC_STRIP
public static final MachineReadableEnumeration CHIP
public static final MachineReadableEnumeration OCR
public static final MachineReadableEnumeration BAR_CODE
public static final MachineReadableEnumeration NFC
public static final MachineReadableEnumeration OTHER
public static MachineReadableEnumeration[] values()
for (MachineReadableEnumeration c : MachineReadableEnumeration.values()) System.out.println(c);
public static MachineReadableEnumeration 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 MachineReadableEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.