public enum DegreeSymbolValue extends Enum<DegreeSymbolValue>
Java class for degree-symbol-value.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="degree-symbol-value">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="major"/>
<enumeration value="minor"/>
<enumeration value="augmented"/>
<enumeration value="diminished"/>
<enumeration value="half-diminished"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AUGMENTED |
DIMINISHED |
HALF_DIMINISHED |
MAJOR |
MINOR |
| Modifier and Type | Method and Description |
|---|---|
static DegreeSymbolValue |
fromValue(String v) |
String |
value() |
static DegreeSymbolValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DegreeSymbolValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DegreeSymbolValue MAJOR
public static final DegreeSymbolValue MINOR
public static final DegreeSymbolValue AUGMENTED
public static final DegreeSymbolValue DIMINISHED
public static final DegreeSymbolValue HALF_DIMINISHED
public static DegreeSymbolValue[] values()
for (DegreeSymbolValue c : DegreeSymbolValue.values()) System.out.println(c);
public static DegreeSymbolValue 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 DegreeSymbolValue fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.