Enum Constant and Description |
---|
ELEMENT
Boxes produced by a DOM element
|
REPLACED_CONTENT
Replaced boxes (images, objects, etc.)
|
TEXT_CONTENT
Text boxes (produced by DOM text node
|
Modifier and Type | Method and Description |
---|---|
static Box.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Box.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Box.Type ELEMENT
public static final Box.Type TEXT_CONTENT
public static final Box.Type REPLACED_CONTENT
public static Box.Type[] values()
for (Box.Type c : Box.Type.values()) System.out.println(c);
public static Box.Type 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 null