Package io.markdom.common
Enum MarkdomContentParentType
- java.lang.Object
-
- java.lang.Enum<MarkdomContentParentType>
-
- io.markdom.common.MarkdomContentParentType
-
- All Implemented Interfaces:
Serializable,Comparable<MarkdomContentParentType>
public enum MarkdomContentParentType extends Enum<MarkdomContentParentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMPHASIS_CONTENTHEADING_BLOCKLINK_CONTENTPARAGRAPH_BLOCK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MarkdomContentParentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static MarkdomContentParentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEADING_BLOCK
public static final MarkdomContentParentType HEADING_BLOCK
-
PARAGRAPH_BLOCK
public static final MarkdomContentParentType PARAGRAPH_BLOCK
-
EMPHASIS_CONTENT
public static final MarkdomContentParentType EMPHASIS_CONTENT
-
LINK_CONTENT
public static final MarkdomContentParentType LINK_CONTENT
-
-
Method Detail
-
values
public static MarkdomContentParentType[] 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 (MarkdomContentParentType c : MarkdomContentParentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MarkdomContentParentType 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
-
-