Enum TextCaptionSequenceFormatAttribute.Value
- java.lang.Object
-
- java.lang.Enum<TextCaptionSequenceFormatAttribute.Value>
-
- org.odftoolkit.odfdom.dom.attribute.text.TextCaptionSequenceFormatAttribute.Value
-
- All Implemented Interfaces:
Serializable
,Comparable<TextCaptionSequenceFormatAttribute.Value>
- Enclosing class:
- TextCaptionSequenceFormatAttribute
public static enum TextCaptionSequenceFormatAttribute.Value extends Enum<TextCaptionSequenceFormatAttribute.Value>
The value set of @text:caption-sequence-format.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPTION
CATEGORY_AND_VALUE
TEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TextCaptionSequenceFormatAttribute.Value
enumValueOf(String value)
String
toString()
static TextCaptionSequenceFormatAttribute.Value
valueOf(String name)
Returns the enum constant of this type with the specified name.static TextCaptionSequenceFormatAttribute.Value[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAPTION
public static final TextCaptionSequenceFormatAttribute.Value CAPTION
-
CATEGORY_AND_VALUE
public static final TextCaptionSequenceFormatAttribute.Value CATEGORY_AND_VALUE
-
TEXT
public static final TextCaptionSequenceFormatAttribute.Value TEXT
-
-
Method Detail
-
values
public static TextCaptionSequenceFormatAttribute.Value[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TextCaptionSequenceFormatAttribute.Value c : TextCaptionSequenceFormatAttribute.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextCaptionSequenceFormatAttribute.Value 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<TextCaptionSequenceFormatAttribute.Value>
-
enumValueOf
public static TextCaptionSequenceFormatAttribute.Value enumValueOf(String value)
-
-