public enum SpecVersion extends Enum<SpecVersion>
#compareTo(SpecVersion) can be used.| Modifier and Type | Method and Description |
|---|---|
static SpecVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecVersion DRAFT_04
public static final SpecVersion DRAFT_06
public static final SpecVersion DRAFT_07
public static SpecVersion[] values()
for (SpecVersion c : SpecVersion.values()) System.out.println(c);
public static SpecVersion 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 © 2019–2022. All rights reserved.