public enum TimeRelation extends Enum<TimeRelation>
Java class for time-relation.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="time-relation">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="parentheses"/>
<enumeration value="bracket"/>
<enumeration value="equals"/>
<enumeration value="slash"/>
<enumeration value="space"/>
<enumeration value="hyphen"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BRACKET |
EQUALS |
HYPHEN |
PARENTHESES |
SLASH |
SPACE |
| Modifier and Type | Method and Description |
|---|---|
static TimeRelation |
fromValue(String v) |
String |
value() |
static TimeRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeRelation PARENTHESES
public static final TimeRelation BRACKET
public static final TimeRelation EQUALS
public static final TimeRelation SLASH
public static final TimeRelation SPACE
public static final TimeRelation HYPHEN
public static TimeRelation[] values()
for (TimeRelation c : TimeRelation.values()) System.out.println(c);
public static TimeRelation 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 TimeRelation fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.