public enum FormatSource extends Enum<FormatSource> implements AttributeValue
| Enum Constant and Description |
|---|
FIXED
"fixed: the values short and long of the number:style attribute are defined by" ODF Spec.
|
LANGUAGE
"language: the meaning of the values long and short of the number:style attribute depend
upon the number:language and number:country attributes of the date style."
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getValue() |
static FormatSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatSource FIXED
public static final FormatSource LANGUAGE
public static FormatSource[] values()
for (FormatSource c : FormatSource.values()) System.out.println(c);
public static FormatSource 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 CharSequence getValue()
getValue in interface AttributeValueCopyright © 2016–2021. All rights reserved.