public enum PrincipalVoiceSymbol extends Enum<PrincipalVoiceSymbol>
Java class for principal-voice-symbol.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="principal-voice-symbol">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Hauptstimme"/>
<enumeration value="Nebenstimme"/>
<enumeration value="plain"/>
<enumeration value="none"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
HAUPTSTIMME |
NEBENSTIMME |
NONE |
PLAIN |
| Modifier and Type | Method and Description |
|---|---|
static PrincipalVoiceSymbol |
fromValue(String v) |
String |
value() |
static PrincipalVoiceSymbol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrincipalVoiceSymbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrincipalVoiceSymbol HAUPTSTIMME
public static final PrincipalVoiceSymbol NEBENSTIMME
public static final PrincipalVoiceSymbol PLAIN
public static final PrincipalVoiceSymbol NONE
public static PrincipalVoiceSymbol[] values()
for (PrincipalVoiceSymbol c : PrincipalVoiceSymbol.values()) System.out.println(c);
public static PrincipalVoiceSymbol 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 PrincipalVoiceSymbol fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.