Enum ElementPlacementSort
- java.lang.Object
-
- java.lang.Enum<ElementPlacementSort>
-
- com.vladsch.flexmark.util.format.options.ElementPlacementSort
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ElementPlacementSort>
public enum ElementPlacementSort extends java.lang.Enum<ElementPlacementSort>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AS_IS
DELETE_UNUSED
SORT
SORT_DELETE_UNUSED
SORT_UNUSED_LAST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDeleteUnused()
boolean
isSort()
boolean
isUnused()
static ElementPlacementSort
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ElementPlacementSort[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AS_IS
public static final ElementPlacementSort AS_IS
-
SORT
public static final ElementPlacementSort SORT
-
SORT_UNUSED_LAST
public static final ElementPlacementSort SORT_UNUSED_LAST
-
SORT_DELETE_UNUSED
public static final ElementPlacementSort SORT_DELETE_UNUSED
-
DELETE_UNUSED
public static final ElementPlacementSort DELETE_UNUSED
-
-
Method Detail
-
values
public static ElementPlacementSort[] 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 (ElementPlacementSort c : ElementPlacementSort.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementPlacementSort 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
-
isUnused
public boolean isUnused()
-
isDeleteUnused
public boolean isDeleteUnused()
-
isSort
public boolean isSort()
-
-