public enum CodingStrength extends Enum<CodingStrength>
Java class for CodingStrength.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CodingStrength">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CNE"/>
<enumeration value="CWE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CNE
If not null, the element must be coded and must be drawn from the value set specified in the binding
|
CWE
If not null, the element must be coded if there is an appropriate value in the value set specified in the binding.
|
| Modifier and Type | Method and Description |
|---|---|
static CodingStrength |
fromValue(String v) |
String |
value() |
static CodingStrength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodingStrength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodingStrength CNE
public static final CodingStrength CWE
public static CodingStrength[] values()
for (CodingStrength c : CodingStrength.values()) System.out.println(c);
public static CodingStrength 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 nullpublic String value()
public static CodingStrength fromValue(String v)
Copyright © 2017. All rights reserved.