public enum CElementType extends java.lang.Enum<CElementType>
| Enum Constant and Description |
|---|
ELEMENT_CELL
Table cell element.
|
ELEMENT_DIV
Div element.
|
ELEMENT_DOCUMENT
Document root element.
|
ELEMENT_IMAGE
Image element.
|
ELEMENT_LINE_SEPARATOR
Horizontal line separator element.
|
ELEMENT_LIST
List block element.
|
ELEMENT_LIST_ITEM
List item element.
|
ELEMENT_PAGE
Page element.
|
ELEMENT_PARAGRAPH
Paragraph block element.
|
ELEMENT_TABLE
Table block element.
|
ELEMENT_TEXT
Text element.
|
ELEMENT_UNKNOWN
Unknown/unsupported element type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue()
Get the integer value of this enum.
|
static CElementType |
toEnum(int id)
Convert an integer id to
CElementType. |
static CElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CElementType ELEMENT_UNKNOWN
public static final CElementType ELEMENT_DIV
public static final CElementType ELEMENT_PAGE
public static final CElementType ELEMENT_DOCUMENT
public static final CElementType ELEMENT_TEXT
public static final CElementType ELEMENT_PARAGRAPH
public static final CElementType ELEMENT_LIST
public static final CElementType ELEMENT_LIST_ITEM
public static final CElementType ELEMENT_TABLE
public static final CElementType ELEMENT_CELL
public static final CElementType ELEMENT_LINE_SEPARATOR
public static final CElementType ELEMENT_IMAGE
public static CElementType[] values()
for (CElementType c : CElementType.values()) System.out.println(c);
public static CElementType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static CElementType toEnum(int id)
CElementType.
If the id is not recognized, ELEMENT_UNKNOWN is returned.id - Integer id.ELEMENT_UNKNOWN if unknown.public int getValue()