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:
com.vladsch.flexmark.util.misc.BitField,Serializable,Comparable<TextContainer.Flags>
- Enclosing interface:
- TextContainer
public static enum TextContainer.Flags extends Enum<TextContainer.Flags> implements com.vladsch.flexmark.util.misc.BitField
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_SPACES_BETWEEN_NODESFOR_HEADING_IDLINK_TEXT_TYPENO_TRIM_REF_TEXT_ENDNO_TRIM_REF_TEXT_STARTNODE_TEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBits()static TextContainer.FlagsvalueOf(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(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
-
getBits
public int getBits()
- Specified by:
getBitsin interfacecom.vladsch.flexmark.util.misc.BitField
-
-