Enum StyleFamilyAttribute.Value
- java.lang.Object
-
- java.lang.Enum<StyleFamilyAttribute.Value>
-
- org.odftoolkit.odfdom.dom.attribute.style.StyleFamilyAttribute.Value
-
- All Implemented Interfaces:
Serializable
,Comparable<StyleFamilyAttribute.Value>
- Enclosing class:
- StyleFamilyAttribute
public static enum StyleFamilyAttribute.Value extends Enum<StyleFamilyAttribute.Value>
The value set of @style:family.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHART
DRAWING_PAGE
GRAPHIC
PARAGRAPH
PRESENTATION
RUBY
SECTION
TABLE
TABLE_CELL
TABLE_COLUMN
TABLE_ROW
TEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StyleFamilyAttribute.Value
enumValueOf(String value)
String
toString()
static StyleFamilyAttribute.Value
valueOf(String name)
Returns the enum constant of this type with the specified name.static StyleFamilyAttribute.Value[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHART
public static final StyleFamilyAttribute.Value CHART
-
DRAWING_PAGE
public static final StyleFamilyAttribute.Value DRAWING_PAGE
-
GRAPHIC
public static final StyleFamilyAttribute.Value GRAPHIC
-
PARAGRAPH
public static final StyleFamilyAttribute.Value PARAGRAPH
-
PRESENTATION
public static final StyleFamilyAttribute.Value PRESENTATION
-
RUBY
public static final StyleFamilyAttribute.Value RUBY
-
SECTION
public static final StyleFamilyAttribute.Value SECTION
-
TABLE
public static final StyleFamilyAttribute.Value TABLE
-
TABLE_CELL
public static final StyleFamilyAttribute.Value TABLE_CELL
-
TABLE_COLUMN
public static final StyleFamilyAttribute.Value TABLE_COLUMN
-
TABLE_ROW
public static final StyleFamilyAttribute.Value TABLE_ROW
-
TEXT
public static final StyleFamilyAttribute.Value TEXT
-
-
Method Detail
-
values
public static StyleFamilyAttribute.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 (StyleFamilyAttribute.Value c : StyleFamilyAttribute.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 StyleFamilyAttribute.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<StyleFamilyAttribute.Value>
-
enumValueOf
public static StyleFamilyAttribute.Value enumValueOf(String value)
-
-