public enum Variant extends Enum<Variant>
Modifier and Type | Method and Description |
---|---|
static Variant |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Variant[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Variant VAR
public static final Variant PLNK
public static final Variant PROP
public static final Variant EXPR
public static final Variant LITERAL
public static Variant[] values()
for (Variant c : Variant.values()) System.out.println(c);
public static Variant 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 nullCopyright © 2011 OW2 Consortium. All Rights Reserved.