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}string">
<minLength value="1"/>
<maxLength value="1"/>
<enumeration value="E"/>
<enumeration value="F"/>
<enumeration value="M"/>
<enumeration value="O"/>
<enumeration value="P"/>
<enumeration value="T"/>
<enumeration value="U"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
E
Email
|
F
Facsimile machine
|
M
Mobile (cellular) telephone
|
O
Other
|
P
Pager
|
T
Telephone (excluding Mobile)
|
U
URL
|
| 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 E
public static final MediumType F
public static final MediumType M
public static final MediumType O
public static final MediumType P
public static final MediumType T
public static final MediumType U
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 © 2021. All rights reserved.