public static enum Element.Type extends java.lang.Enum<Element.Type>
| Enum Constant and Description |
|---|
AUTOLINK |
BLOCK_CODE |
BLOCK_HTML |
BLOCK_QUOTE |
CODE_SPAN |
DOUBLE_EMPHASIS |
EMPHASIS |
HEADER |
HRULE |
IMAGE |
LINEBREAK |
LINK |
LIST |
LIST_ITEM |
PARAGRAPH |
RAW_HTML_TAG |
STRIKETHROUGH |
TABLE |
TABLE_CELL |
TABLE_ROW |
TEXT |
TRIPLE_EMPHASIS |
| Modifier and Type | Method and Description |
|---|---|
static Element.Type |
fromInteger(int x) |
static Element.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Element.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Element.Type BLOCK_CODE
public static final Element.Type BLOCK_QUOTE
public static final Element.Type BLOCK_HTML
public static final Element.Type HEADER
public static final Element.Type HRULE
public static final Element.Type LIST
public static final Element.Type LIST_ITEM
public static final Element.Type PARAGRAPH
public static final Element.Type TABLE
public static final Element.Type TABLE_CELL
public static final Element.Type TABLE_ROW
public static final Element.Type AUTOLINK
public static final Element.Type CODE_SPAN
public static final Element.Type DOUBLE_EMPHASIS
public static final Element.Type EMPHASIS
public static final Element.Type IMAGE
public static final Element.Type LINEBREAK
public static final Element.Type LINK
public static final Element.Type RAW_HTML_TAG
public static final Element.Type TRIPLE_EMPHASIS
public static final Element.Type TEXT
public static final Element.Type STRIKETHROUGH
public static Element.Type[] values()
for (Element.Type c : Element.Type.values()) System.out.println(c);
public static Element.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Element.Type fromInteger(int x)