nu.validator.servlet
Enum VerifierServletTransaction.OutputFormat

java.lang.Object
  extended by java.lang.Enum<VerifierServletTransaction.OutputFormat>
      extended by nu.validator.servlet.VerifierServletTransaction.OutputFormat
All Implemented Interfaces:
Serializable, Comparable<VerifierServletTransaction.OutputFormat>
Enclosing class:
VerifierServletTransaction

private static enum VerifierServletTransaction.OutputFormat
extends Enum<VerifierServletTransaction.OutputFormat>


Enum Constant Summary
EMACS
           
HTML
           
JSON
           
RELAXED
           
SOAP
           
TEXT
           
UNICORN
           
XHTML
           
XML
           
 
Method Summary
static VerifierServletTransaction.OutputFormat valueOf(String name)
          Returns the enum constant of this type with the specified name.
static VerifierServletTransaction.OutputFormat[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HTML

public static final VerifierServletTransaction.OutputFormat HTML

XHTML

public static final VerifierServletTransaction.OutputFormat XHTML

TEXT

public static final VerifierServletTransaction.OutputFormat TEXT

XML

public static final VerifierServletTransaction.OutputFormat XML

JSON

public static final VerifierServletTransaction.OutputFormat JSON

RELAXED

public static final VerifierServletTransaction.OutputFormat RELAXED

SOAP

public static final VerifierServletTransaction.OutputFormat SOAP

UNICORN

public static final VerifierServletTransaction.OutputFormat UNICORN

EMACS

public static final VerifierServletTransaction.OutputFormat EMACS
Method Detail

values

public static final VerifierServletTransaction.OutputFormat[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(VerifierServletTransaction.OutputFormat c : VerifierServletTransaction.OutputFormat.values())
        System.out.println(c);

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

valueOf

public static VerifierServletTransaction.OutputFormat 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