public enum KeyScope extends Enum<KeyScope>
Enum Constant and Description |
---|
ALL
Unscoped for key definition.
|
EDGE
Edge-Scope for key definition.
|
GRAPH
Graph-Scope for key definition.
|
GRAPHML
Graphml-Scope for key definition.
|
NODE
Node-Scope for key definition.
|
PORT
Port-Scope for key definition.
|
Modifier and Type | Method and Description |
---|---|
static KeyScope |
fromOrdinal(int ordinal) |
int |
value() |
static KeyScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyScope ALL
public static final KeyScope EDGE
public static final KeyScope GRAPH
public static final KeyScope GRAPHML
public static final KeyScope NODE
public static final KeyScope PORT
public static final KeyScope fromOrdinal(int ordinal)
public int value()
public static KeyScope 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 KeyScope[] values()
for (KeyScope c : KeyScope.values()) System.out.println(c);