Package org.apache.bval.jsr.metadata
Enum XmlBuilder.Version
- java.lang.Object
-
- java.lang.Enum<XmlBuilder.Version>
-
- org.apache.bval.jsr.metadata.XmlBuilder.Version
-
- All Implemented Interfaces:
Serializable
,Comparable<XmlBuilder.Version>
- Enclosing class:
- XmlBuilder
public static enum XmlBuilder.Version extends Enum<XmlBuilder.Version>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
(package private) static XmlBuilder.Version
of(ConstraintMappingsType constraintMappings)
static XmlBuilder.Version
valueOf(String name)
Returns the enum constant of this type with the specified name.static XmlBuilder.Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
v10
public static final XmlBuilder.Version v10
-
v11
public static final XmlBuilder.Version v11
-
v20
public static final XmlBuilder.Version v20
-
v30
public static final XmlBuilder.Version v30
-
-
Method Detail
-
values
public static XmlBuilder.Version[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (XmlBuilder.Version c : XmlBuilder.Version.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XmlBuilder.Version valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
of
static XmlBuilder.Version of(ConstraintMappingsType constraintMappings)
-
getId
public String getId()
-
-