|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SpectralUnitType> net.ivoa.xml.stc.stc_v1_30.SpectralUnitType
public enum SpectralUnitType
Java class for spectralUnitType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="spectralUnitType"> <restriction base="{http://www.ivoa.net/xml/STC/stc-v1.30.xsd}unitType"> <enumeration value="Hz"/> <enumeration value="kHz"/> <enumeration value="MHz"/> <enumeration value="GHz"/> <enumeration value="m"/> <enumeration value="mm"/> <enumeration value="um"/> <enumeration value="nm"/> <enumeration value="Angstrom"/> <enumeration value="eV"/> <enumeration value="keV"/> <enumeration value="MeV"/> <enumeration value="GeV"/> <enumeration value="TeV"/> </restriction> </simpleType>
Enum Constant Summary | |
---|---|
ANGSTROM
|
|
E_V
|
|
G_HZ
|
|
GE_V
|
|
HZ
|
|
K_HZ
|
|
KE_V
|
|
M
|
|
M_HZ
|
|
ME_V
|
|
MM
|
|
NM
|
|
TE_V
|
|
UM
|
Method Summary | |
---|---|
static SpectralUnitType |
fromValue(java.lang.String v)
|
java.lang.String |
value()
|
static SpectralUnitType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SpectralUnitType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SpectralUnitType HZ
public static final SpectralUnitType K_HZ
public static final SpectralUnitType M_HZ
public static final SpectralUnitType G_HZ
public static final SpectralUnitType M
public static final SpectralUnitType MM
public static final SpectralUnitType UM
public static final SpectralUnitType NM
public static final SpectralUnitType ANGSTROM
public static final SpectralUnitType E_V
public static final SpectralUnitType KE_V
public static final SpectralUnitType ME_V
public static final SpectralUnitType GE_V
public static final SpectralUnitType TE_V
Method Detail |
---|
public static SpectralUnitType[] values()
for (SpectralUnitType c : SpectralUnitType.values()) System.out.println(c);
public static SpectralUnitType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static SpectralUnitType fromValue(java.lang.String v)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |