|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GraphOrderType>
org.graphdrawing.graphml.GraphOrderType
public enum GraphOrderType
A representation of the literals of the enumeration 'Graph Order Type', and utility methods for working with them. Simple type for the parse.order attribute of <graph>. graph.order.type is final, that is, it may not be extended or restricted. graph.order.type is a restriction of xs:NMTOKEN Allowed values: free, nodesfirst, adjacencylist.
GraphMLPackage.getGraphOrderType()
extendedMetaData | = | name='graph.order.type' |
Enum Constant Summary | |
---|---|
ADJACENCYLIST
The 'Adjacencylist' literal object. |
|
FREE
The 'Free' literal object. |
|
NODESFIRST
The 'Nodesfirst' literal object. |
Field Summary | |
---|---|
static int |
ADJACENCYLIST_VALUE
The 'Adjacencylist' literal value. |
static int |
FREE_VALUE
The 'Free' literal value. |
static int |
NODESFIRST_VALUE
The 'Nodesfirst' literal value. |
static List<GraphOrderType> |
VALUES
A public read-only list of all the 'Graph Order Type' enumerators. |
Method Summary | |
---|---|
static GraphOrderType |
get(int value)
Returns the 'Graph Order Type' literal with the specified integer value. |
static GraphOrderType |
get(String literal)
Returns the 'Graph Order Type' literal with the specified literal value. |
static GraphOrderType |
getByName(String name)
Returns the 'Graph Order Type' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static GraphOrderType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GraphOrderType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GraphOrderType FREE
FREE_VALUE
public static final GraphOrderType NODESFIRST
NODESFIRST_VALUE
public static final GraphOrderType ADJACENCYLIST
ADJACENCYLIST_VALUE
Field Detail |
---|
public static final int FREE_VALUE
If the meaning of 'Free' literal object isn't clear, there really should be more of a description here...
FREE
,
Constant Field Valuesname | = | free |
public static final int NODESFIRST_VALUE
If the meaning of 'Nodesfirst' literal object isn't clear, there really should be more of a description here...
NODESFIRST
,
Constant Field Valuesname | = | nodesfirst |
public static final int ADJACENCYLIST_VALUE
If the meaning of 'Adjacencylist' literal object isn't clear, there really should be more of a description here...
ADJACENCYLIST
,
Constant Field Valuesname | = | adjacencylist |
public static final List<GraphOrderType> VALUES
Method Detail |
---|
public static GraphOrderType[] values()
for (GraphOrderType c : GraphOrderType.values()) System.out.println(c);
public static GraphOrderType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static GraphOrderType get(String literal)
public static GraphOrderType getByName(String name)
public static GraphOrderType get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<GraphOrderType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |