public enum Occurs extends Enum<Occurs>
Enum Constant and Description |
---|
ExactlyOne |
OneOrMany |
ZeroOrMany |
ZeroOrOne |
Modifier and Type | Method and Description |
---|---|
static Occurs |
fromString(String string) |
static Occurs |
fromURI(URI uri) |
String |
toString() |
static Occurs |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Occurs[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Occurs ExactlyOne
public static final Occurs ZeroOrOne
public static final Occurs ZeroOrMany
public static final Occurs OneOrMany
public static Occurs[] values()
for (Occurs c : Occurs.values()) System.out.println(c);
public static Occurs 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 © 2017. All rights reserved.