public enum Version extends Enum<Version>
| Enum Constant and Description |
|---|
XMCDA_3_0_0 |
XMCDA_3_0_1 |
XMCDA_3_0_2 |
XMCDA_3_1_0 |
XMCDA_3_1_1 |
| Modifier and Type | Field and Description |
|---|---|
static Version |
defaultVersion |
String |
localXSDLocation |
String |
name |
String |
namespace |
String |
namespacePrefix |
String |
schemaURL |
static String[] |
VERSIONS
The list of all existing XMCDA v3 version numbers
|
| Modifier and Type | Method and Description |
|---|---|
static Source[] |
allSchemas() |
static Optional<Version> |
get(String version)
Return the requested v3 Version.
|
static Version |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version XMCDA_3_0_0
public static final Version XMCDA_3_0_1
public static final Version XMCDA_3_0_2
public static final Version XMCDA_3_1_0
public static final Version XMCDA_3_1_1
public final String name
public final String localXSDLocation
public final String namespace
public final String namespacePrefix
public final String schemaURL
public static final String[] VERSIONS
public static final Version defaultVersion
public static Version[] values()
for (Version c : Version.values()) System.out.println(c);
public static Version 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<Version> get(String version)
version - the version number; it should be amongst VERSIONS.public static Source[] allSchemas()
Copyright © 2013–2021 Sébastien Bigaret, Patrick Meyer. All rights reserved.