public enum SpecificationVersion extends Enum<SpecificationVersion>
| Modifier and Type | Method and Description |
|---|---|
abstract String |
idKeyword() |
boolean |
isAtLeast(SpecificationVersion lowerInclusiveBound) |
static Optional<SpecificationVersion> |
lookupByMetaSchemaUrl(String metaSchemaUrl) |
static SpecificationVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpecificationVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecificationVersion DRAFT_4
public static final SpecificationVersion DRAFT_6
public static final SpecificationVersion DRAFT_7
public static SpecificationVersion[] values()
for (SpecificationVersion c : SpecificationVersion.values()) System.out.println(c);
public static SpecificationVersion 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 static Optional<SpecificationVersion> lookupByMetaSchemaUrl(String metaSchemaUrl)
public abstract String idKeyword()
public boolean isAtLeast(SpecificationVersion lowerInclusiveBound)
Copyright © 2021 Everit Kft.. All rights reserved.