Package com.vladsch.flexmark.util.format
Enum MarkdownParagraph.TextType
- java.lang.Object
-
- java.lang.Enum<MarkdownParagraph.TextType>
-
- com.vladsch.flexmark.util.format.MarkdownParagraph.TextType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MarkdownParagraph.TextType>
- Enclosing class:
- MarkdownParagraph
public static enum MarkdownParagraph.TextType extends java.lang.Enum<MarkdownParagraph.TextType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BREAK
MARKDOWN_BREAK
MARKDOWN_START_LINE
SPACE
WORD
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MarkdownParagraph.TextType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MarkdownParagraph.TextType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORD
public static final MarkdownParagraph.TextType WORD
-
SPACE
public static final MarkdownParagraph.TextType SPACE
-
BREAK
public static final MarkdownParagraph.TextType BREAK
-
MARKDOWN_BREAK
public static final MarkdownParagraph.TextType MARKDOWN_BREAK
-
MARKDOWN_START_LINE
public static final MarkdownParagraph.TextType MARKDOWN_START_LINE
-
-
Method Detail
-
values
public static MarkdownParagraph.TextType[] 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 (MarkdownParagraph.TextType c : MarkdownParagraph.TextType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarkdownParagraph.TextType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-