Package de.saar.coli.arranger
Enum Config.ABC_DIALECT
- java.lang.Object
-
- java.lang.Enum<Config.ABC_DIALECT>
-
- de.saar.coli.arranger.Config.ABC_DIALECT
-
- All Implemented Interfaces:
Serializable,Comparable<Config.ABC_DIALECT>,Constable
- Enclosing class:
- Config
public static enum Config.ABC_DIALECT extends Enum<Config.ABC_DIALECT>
Dialects of the ABC format which need to be distinguished by theAbcWriter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static Config.ABC_DIALECTvalueOf(String name)Returns the enum constant of this type with the specified name.static Config.ABC_DIALECT[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final Config.ABC_DIALECT STANDARD
The default ABC 2.1 dialect. It is rendered correctly e.g. by EasyABC.
-
ABC2SVG
public static final Config.ABC_DIALECT ABC2SVG
The ABC dialect which is rendered correctly by ABC2SVG and $ABC_UI. These renderers ignore the builtin transposition of the Tn/Ld staff, so we need to transpose the notes on that staff ourselves. They also do not understand the "snm" flag, so we do not produce it.
-
-
Method Detail
-
values
public static Config.ABC_DIALECT[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Config.ABC_DIALECT valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-