Package com.openhtmltopdf.extend
Enum StructureType
- java.lang.Object
-
- java.lang.Enum<StructureType>
-
- com.openhtmltopdf.extend.StructureType
-
- All Implemented Interfaces:
Serializable,Comparable<StructureType>,java.lang.constant.Constable
public enum StructureType extends Enum<StructureType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUNDBLOCKFLOATINLINEINLINE_CHILD_BOXLAYERLIST_MARKERREPLACEDRUNNINGTEXT
-
Method Summary
Modifier and Type Method Description static StructureTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StructureType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAYER
public static final StructureType LAYER
-
RUNNING
public static final StructureType RUNNING
-
BACKGROUND
public static final StructureType BACKGROUND
-
TEXT
public static final StructureType TEXT
-
FLOAT
public static final StructureType FLOAT
-
BLOCK
public static final StructureType BLOCK
-
INLINE
public static final StructureType INLINE
-
INLINE_CHILD_BOX
public static final StructureType INLINE_CHILD_BOX
-
LIST_MARKER
public static final StructureType LIST_MARKER
-
REPLACED
public static final StructureType REPLACED
-
-
Method Detail
-
values
public static StructureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StructureType 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
-
-