Enum Class MembraneValue

java.lang.Object
java.lang.Enum<MembraneValue>
org.audiveris.proxymusic.MembraneValue
All Implemented Interfaces:
Serializable, Comparable<MembraneValue>, Constable

public enum MembraneValue extends Enum<MembraneValue>

Java class for membrane-value.

The following schema fragment specifies the expected content contained within this class.

 &lt;simpleType name="membrane-value">
   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     &lt;enumeration value="bass drum"/>
     &lt;enumeration value="bass drum on side"/>
     &lt;enumeration value="bongos"/>
     &lt;enumeration value="Chinese tomtom"/>
     &lt;enumeration value="conga drum"/>
     &lt;enumeration value="cuica"/>
     &lt;enumeration value="goblet drum"/>
     &lt;enumeration value="Indo-American tomtom"/>
     &lt;enumeration value="Japanese tomtom"/>
     &lt;enumeration value="military drum"/>
     &lt;enumeration value="snare drum"/>
     &lt;enumeration value="snare drum snares off"/>
     &lt;enumeration value="tabla"/>
     &lt;enumeration value="tambourine"/>
     &lt;enumeration value="tenor drum"/>
     &lt;enumeration value="timbales"/>
     &lt;enumeration value="tomtom"/>
   &lt;/restriction>
 &lt;/simpleType>
 
  • Enum Constant Details

  • Method Details

    • values

      public static MembraneValue[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MembraneValue valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public String value()
    • fromValue

      public static MembraneValue fromValue(String v)