public enum KyeroVersion extends Enum<KyeroVersion> implements XmlVersion
| Modifier and Type | Method and Description |
|---|---|
static KyeroVersion |
detectFromString(String version) |
XmlConverter |
getConverter() |
KyeroVersion |
getNextVersion() |
KyeroVersion |
getPreviousVersion() |
boolean |
isLatestVersion() |
boolean |
isNewerThen(XmlVersion v) |
boolean |
isOlderThen(XmlVersion v) |
String |
toReadableVersion() |
String |
toXmlVersion() |
static KyeroVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KyeroVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KyeroVersion V2_1
public static final KyeroVersion V3
public static KyeroVersion[] values()
for (KyeroVersion c : KyeroVersion.values()) System.out.println(c);
public static KyeroVersion 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 KyeroVersion detectFromString(String version)
public XmlConverter getConverter()
getConverter in interface XmlVersionpublic KyeroVersion getNextVersion()
getNextVersion in interface XmlVersionpublic KyeroVersion getPreviousVersion()
getPreviousVersion in interface XmlVersionpublic boolean isLatestVersion()
isLatestVersion in interface XmlVersionpublic boolean isNewerThen(XmlVersion v)
isNewerThen in interface XmlVersionpublic boolean isOlderThen(XmlVersion v)
isOlderThen in interface XmlVersionpublic String toReadableVersion()
toReadableVersion in interface XmlVersionpublic String toXmlVersion()
Copyright © 2015 OpenEstate. All rights reserved.