public enum CapsuleVersionEnum extends java.lang.Enum<CapsuleVersionEnum>
Enum Constant and Description |
---|
V21 |
Modifier and Type | Method and Description |
---|---|
static CapsuleVersionEnum |
forClass(java.lang.Class<? extends java.lang.Object> containerClass)
Method finds XSdVersion for given Class.
|
java.lang.Class<? extends java.lang.Object> |
getContainerClass() |
static CapsuleVersionEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapsuleVersionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapsuleVersionEnum V21
public static CapsuleVersionEnum[] values()
for (CapsuleVersionEnum c : CapsuleVersionEnum.values()) System.out.println(c);
public static CapsuleVersionEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Class<? extends java.lang.Object> getContainerClass()
public static CapsuleVersionEnum forClass(java.lang.Class<? extends java.lang.Object> containerClass) throws DhxException
containerClass
- - root class of the containerDhxException
- - thrown if error occurs while searching version