|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<GraphNodeidsType>
org.graphdrawing.graphml.GraphNodeidsType
public enum GraphNodeidsType
A representation of the literals of the enumeration 'Graph Nodeids Type', and utility methods for working with them. Simple type for the parse.nodeids attribute of <graph>. graph.nodeids.type is final, that is, it may not be extended or restricted. graph.nodeids.type is a restriction of xs:string Allowed values: (no restriction).
GraphMLPackage.getGraphNodeidsType()
extendedMetaData | = | name='graph.nodeids.type' |
Enum Constant Summary | |
---|---|
CANONICAL
The 'Canonical' literal object. |
|
FREE
The 'Free' literal object. |
Field Summary | |
---|---|
static int |
CANONICAL_VALUE
The 'Canonical' literal value. |
static int |
FREE_VALUE
The 'Free' literal value. |
static List<GraphNodeidsType> |
VALUES
A public read-only list of all the 'Graph Nodeids Type' enumerators. |
Method Summary | |
---|---|
static GraphNodeidsType |
get(int value)
Returns the 'Graph Nodeids Type' literal with the specified integer value. |
static GraphNodeidsType |
get(String literal)
Returns the 'Graph Nodeids Type' literal with the specified literal value. |
static GraphNodeidsType |
getByName(String name)
Returns the 'Graph Nodeids 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 GraphNodeidsType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GraphNodeidsType[] |
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 GraphNodeidsType CANONICAL
CANONICAL_VALUE
public static final GraphNodeidsType FREE
FREE_VALUE
Field Detail |
---|
public static final int CANONICAL_VALUE
If the meaning of 'Canonical' literal object isn't clear, there really should be more of a description here...
CANONICAL
,
Constant Field Valuesname | = | canonical |
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 List<GraphNodeidsType> VALUES
Method Detail |
---|
public static GraphNodeidsType[] values()
for (GraphNodeidsType c : GraphNodeidsType.values()) System.out.println(c);
public static GraphNodeidsType 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 GraphNodeidsType get(String literal)
public static GraphNodeidsType getByName(String name)
public static GraphNodeidsType 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<GraphNodeidsType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |