Package com.openhtmltopdf.extend
Enum StructureType
- java.lang.Object
-
- java.lang.Enum<StructureType>
-
- com.openhtmltopdf.extend.StructureType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StructureType>
public enum StructureType extends java.lang.Enum<StructureType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKGROUND
BLOCK
FLOAT
INLINE
INLINE_CHILD_BOX
LAYER
LIST_MARKER
REPLACED
RUNNING
TEXT
-
Constructor Summary
Constructors Modifier Constructor Description private
StructureType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StructureType
valueOf(java.lang.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. This method may be used to iterate over the constants as follows:for (StructureType c : StructureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StructureType 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
-
-