net.jangaroo.exml.model
Enum AnnotationAt
java.lang.Object
java.lang.Enum<AnnotationAt>
net.jangaroo.exml.model.AnnotationAt
- All Implemented Interfaces:
- Serializable, Comparable<AnnotationAt>
public enum AnnotationAt
- extends Enum<AnnotationAt>
Legal values for EXML attribute at of element annotation.
|
Method Summary |
static AnnotationAt |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AnnotationAt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CONFIG
public static final AnnotationAt CONFIG
TARGET
public static final AnnotationAt TARGET
BOTH
public static final AnnotationAt BOTH
values
public static AnnotationAt[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (AnnotationAt c : AnnotationAt.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AnnotationAt valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2002–2014 CoreMedia AG. All rights reserved.