public static enum TargetElement.ElementType extends java.lang.Enum<TargetElement.ElementType>
Enum Constant and Description |
---|
CONSTRAINED_TARGET |
NAMED_TARGET |
Modifier and Type | Method and Description |
---|---|
static TargetElement.ElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TargetElement.ElementType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final TargetElement.ElementType NAMED_TARGET
public static final TargetElement.ElementType CONSTRAINED_TARGET
public static TargetElement.ElementType[] values()
for (TargetElement.ElementType c : TargetElement.ElementType.values()) System.out.println(c);
public static TargetElement.ElementType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null