public enum TimeSymbol extends Enum<TimeSymbol>
Java class for time-symbol.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="time-symbol">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="common"/>
<enumeration value="cut"/>
<enumeration value="single-number"/>
<enumeration value="note"/>
<enumeration value="dotted-note"/>
<enumeration value="normal"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COMMON |
CUT |
DOTTED_NOTE |
NORMAL |
NOTE |
SINGLE_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static TimeSymbol |
fromValue(String v) |
String |
value() |
static TimeSymbol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeSymbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSymbol COMMON
public static final TimeSymbol CUT
public static final TimeSymbol SINGLE_NUMBER
public static final TimeSymbol NOTE
public static final TimeSymbol DOTTED_NOTE
public static final TimeSymbol NORMAL
public static TimeSymbol[] values()
for (TimeSymbol c : TimeSymbol.values()) System.out.println(c);
public static TimeSymbol 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 TimeSymbol fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.