Enum AsciiDocTableColumnStyles
- java.lang.Object
-
- java.lang.Enum<AsciiDocTableColumnStyles>
-
- org.forgerock.api.markup.asciidoc.AsciiDocTableColumnStyles
-
- All Implemented Interfaces:
Serializable
,Comparable<AsciiDocTableColumnStyles>
public enum AsciiDocTableColumnStyles extends Enum<AsciiDocTableColumnStyles>
AsciiDoc table column-styles.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASCII_DOC_CELL
Block-level elements (paragraphs, delimited blocks and block macros) AsciiDoc content.DEFAULT_CELL
No additional styles (default).EMPHASIS_CELL
Italic text.HEADER_CELL
Header styles applied.LITERAL_CELL
Literal block style.MONO_CELL
Monospaced font.STRONG_CELL
Bold text.VERSE_CELL
Cell treated like it was a verse block.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
Returns the character associated with the table column-style.static AsciiDocTableColumnStyles
valueOf(String name)
Returns the enum constant of this type with the specified name.static AsciiDocTableColumnStyles[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASCII_DOC_CELL
public static final AsciiDocTableColumnStyles ASCII_DOC_CELL
Block-level elements (paragraphs, delimited blocks and block macros) AsciiDoc content.
-
EMPHASIS_CELL
public static final AsciiDocTableColumnStyles EMPHASIS_CELL
Italic text.
-
HEADER_CELL
public static final AsciiDocTableColumnStyles HEADER_CELL
Header styles applied.
-
LITERAL_CELL
public static final AsciiDocTableColumnStyles LITERAL_CELL
Literal block style.
-
MONO_CELL
public static final AsciiDocTableColumnStyles MONO_CELL
Monospaced font.
-
DEFAULT_CELL
public static final AsciiDocTableColumnStyles DEFAULT_CELL
No additional styles (default).
-
STRONG_CELL
public static final AsciiDocTableColumnStyles STRONG_CELL
Bold text.
-
VERSE_CELL
public static final AsciiDocTableColumnStyles VERSE_CELL
Cell treated like it was a verse block.
-
-
Method Detail
-
values
public static AsciiDocTableColumnStyles[] 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 (AsciiDocTableColumnStyles c : AsciiDocTableColumnStyles.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AsciiDocTableColumnStyles 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()
Returns the character associated with the table column-style.- Overrides:
toString
in classEnum<AsciiDocTableColumnStyles>
- Returns:
- column-style character
-
-