public enum WritePrecedence extends Enum<WritePrecedence>
IOutputHandler
instances are used.
These enumeration values control whether the output handler is evaluated before or after any (optional) structural child content of the owner element.
IOutputHandler.getPrecedence()
Enum Constant and Description |
---|
AFTER_CHILDREN
The handler writes its content after the child nodes of the governing GraphML element.
|
BEFORE_CHILDREN
The handler writes its content before the child nodes of the governing GraphML element.
|
DEFAULT
Default precedence, the order in relation to child content is unspecified.
|
Modifier and Type | Method and Description |
---|---|
static WritePrecedence |
fromOrdinal(int ordinal) |
int |
value() |
static WritePrecedence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WritePrecedence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WritePrecedence AFTER_CHILDREN
public static final WritePrecedence BEFORE_CHILDREN
public static final WritePrecedence DEFAULT
public static final WritePrecedence fromOrdinal(int ordinal)
public int value()
public static WritePrecedence valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static WritePrecedence[] values()
for (WritePrecedence c : WritePrecedence.values()) System.out.println(c);