org.tap4j.util
Enum TapVersionValues

Package class diagram package TapVersionValues
java.lang.Object
  extended by java.lang.Enum<TapVersionValues>
      extended by org.tap4j.util.TapVersionValues
All Implemented Interfaces:
Serializable, Comparable<TapVersionValues>

public enum TapVersionValues
extends Enum<TapVersionValues>

TAP versions.

Since:
1.0

Enum Constant Summary
TAP_1
           
TAP_10
           
TAP_11
           
TAP_12
           
TAP_13
           
TAP_2
           
TAP_3
           
TAP_4
           
TAP_5
           
TAP_6
           
TAP_7
           
TAP_8
           
TAP_9
           
 
Method Summary
 Integer getValue()
          Get the TAP version value.
 String toString()
           
static TapVersionValues valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TapVersionValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TAP_1

public static final TapVersionValues TAP_1

TAP_2

public static final TapVersionValues TAP_2

TAP_3

public static final TapVersionValues TAP_3

TAP_4

public static final TapVersionValues TAP_4

TAP_5

public static final TapVersionValues TAP_5

TAP_6

public static final TapVersionValues TAP_6

TAP_7

public static final TapVersionValues TAP_7

TAP_8

public static final TapVersionValues TAP_8

TAP_9

public static final TapVersionValues TAP_9

TAP_10

public static final TapVersionValues TAP_10

TAP_11

public static final TapVersionValues TAP_11

TAP_12

public static final TapVersionValues TAP_12

TAP_13

public static final TapVersionValues TAP_13
Method Detail

values

public static TapVersionValues[] 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 (TapVersionValues c : TapVersionValues.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TapVersionValues 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 name
NullPointerException - if the argument is null

getValue

public Integer getValue()
Get the TAP version value.

Returns:
TAP version value

toString

public String toString()
Overrides:
toString in class Enum<TapVersionValues>


Copyright © 2010-2012 TupiLabs. All Rights Reserved.