public enum BlockType extends Enum<BlockType>
| Enum Constant and Description |
|---|
BLOCKQUOTE
A block quote.
|
CODE
A code block.
|
FENCED_CODE
A fenced code block.
|
HEADLINE
A headline.
|
LIST_ITEM
A list item.
|
NONE
Unspecified.
|
ORDERED_LIST
An ordered list.
|
PARAGRAPH
A paragraph.
|
RULER
A horizontal ruler.
|
UNORDERED_LIST
An unordered list.
|
XML
A XML block.
|
| Modifier and Type | Method and Description |
|---|---|
static BlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockType NONE
public static final BlockType BLOCKQUOTE
public static final BlockType CODE
public static final BlockType FENCED_CODE
public static final BlockType HEADLINE
public static final BlockType LIST_ITEM
public static final BlockType ORDERED_LIST
public static final BlockType PARAGRAPH
public static final BlockType RULER
public static final BlockType UNORDERED_LIST
public static final BlockType XML
public static BlockType[] values()
for (BlockType c : BlockType.values()) System.out.println(c);
public static BlockType 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 nullCopyright © 2016. All Rights Reserved.