public enum OccursEnum extends Enum<OccursEnum>
Enum Constant and Description |
---|
oneOrMore |
optional |
required |
zeroOrMore |
Modifier and Type | Method and Description |
---|---|
static OccursEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OccursEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OccursEnum optional
public static final OccursEnum required
public static final OccursEnum oneOrMore
public static final OccursEnum zeroOrMore
public static OccursEnum[] values()
for (OccursEnum c : OccursEnum.values()) System.out.println(c);
public static OccursEnum 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 © 2013. All Rights Reserved.