public enum BeaterValue extends Enum<BeaterValue>
Java class for beater-value.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="beater-value">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="bow"/>
<enumeration value="chime hammer"/>
<enumeration value="coin"/>
<enumeration value="finger"/>
<enumeration value="fingernail"/>
<enumeration value="fist"/>
<enumeration value="guiro scraper"/>
<enumeration value="hammer"/>
<enumeration value="hand"/>
<enumeration value="jazz stick"/>
<enumeration value="knitting needle"/>
<enumeration value="metal hammer"/>
<enumeration value="snare stick"/>
<enumeration value="spoon mallet"/>
<enumeration value="triangle beater"/>
<enumeration value="triangle beater plain"/>
<enumeration value="wire brush"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BOW |
CHIME_HAMMER |
COIN |
FINGER |
FINGERNAIL |
FIST |
GUIRO_SCRAPER |
HAMMER |
HAND |
JAZZ_STICK |
KNITTING_NEEDLE |
METAL_HAMMER |
SNARE_STICK |
SPOON_MALLET |
TRIANGLE_BEATER |
TRIANGLE_BEATER_PLAIN |
WIRE_BRUSH |
| Modifier and Type | Method and Description |
|---|---|
static BeaterValue |
fromValue(String v) |
String |
value() |
static BeaterValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeaterValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeaterValue BOW
public static final BeaterValue CHIME_HAMMER
public static final BeaterValue COIN
public static final BeaterValue FINGER
public static final BeaterValue FINGERNAIL
public static final BeaterValue FIST
public static final BeaterValue GUIRO_SCRAPER
public static final BeaterValue HAMMER
public static final BeaterValue HAND
public static final BeaterValue JAZZ_STICK
public static final BeaterValue KNITTING_NEEDLE
public static final BeaterValue METAL_HAMMER
public static final BeaterValue SNARE_STICK
public static final BeaterValue SPOON_MALLET
public static final BeaterValue TRIANGLE_BEATER
public static final BeaterValue TRIANGLE_BEATER_PLAIN
public static final BeaterValue WIRE_BRUSH
public static BeaterValue[] values()
for (BeaterValue c : BeaterValue.values()) System.out.println(c);
public static BeaterValue 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 BeaterValue fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.