Package com.vladsch.flexmark.util.ast
Enum TextContainer.Flags
- java.lang.Object
-
- java.lang.Enum<TextContainer.Flags>
-
- com.vladsch.flexmark.util.ast.TextContainer.Flags
-
- All Implemented Interfaces:
BitField
,java.io.Serializable
,java.lang.Comparable<TextContainer.Flags>
- Enclosing interface:
- TextContainer
public static enum TextContainer.Flags extends java.lang.Enum<TextContainer.Flags> implements BitField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_SPACES_BETWEEN_NODES
FOR_HEADING_ID
LINK_TEXT_TYPE
NO_TRIM_REF_TEXT_END
NO_TRIM_REF_TEXT_START
NODE_TEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBits()
static TextContainer.Flags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TextContainer.Flags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINK_TEXT_TYPE
public static final TextContainer.Flags LINK_TEXT_TYPE
-
NODE_TEXT
public static final TextContainer.Flags NODE_TEXT
-
FOR_HEADING_ID
public static final TextContainer.Flags FOR_HEADING_ID
-
NO_TRIM_REF_TEXT_START
public static final TextContainer.Flags NO_TRIM_REF_TEXT_START
-
NO_TRIM_REF_TEXT_END
public static final TextContainer.Flags NO_TRIM_REF_TEXT_END
-
ADD_SPACES_BETWEEN_NODES
public static final TextContainer.Flags ADD_SPACES_BETWEEN_NODES
-
-
Method Detail
-
values
public static TextContainer.Flags[] 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 (TextContainer.Flags c : TextContainer.Flags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextContainer.Flags 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
-
-