public enum EndpointType extends Enum<EndpointType>
Java class for endpoint.type.type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="endpoint.type.type"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="in"/> <enumeration value="out"/> <enumeration value="undir"/> </restriction> </simpleType>
Enum Constant and Description |
---|
IN |
OUT |
UNDIRECTED |
Modifier and Type | Method and Description |
---|---|
static EndpointType |
fromValue(String v) |
String |
value() |
static EndpointType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointType IN
public static final EndpointType OUT
public static final EndpointType UNDIRECTED
public static EndpointType[] values()
for (EndpointType c : EndpointType.values()) System.out.println(c);
public static EndpointType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static EndpointType fromValue(String v)