Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.thermidor.xml.output
Class OutputType  view OutputType download OutputType.java

java.lang.Object
  extended bycom.thermidor.util.Enum
      extended bycom.thermidor.xml.output.OutputType
All Implemented Interfaces:
java.io.Serializable

public final class OutputType
extends com.thermidor.util.Enum

This enumeration details the types of output mechansim that can be used by the Output class in stack based output.


Field Summary
static OutputType APPEND
          Output will be appended to a file.
static OutputType FILE
          Output will be directed to a file.
static int ID_APPEND
          Sybmolic Constant for the APPEND enum member
static int ID_FILE
          Sybmolic Constant for the FILE enum member
static int ID_NUL
          Sybmolic Constant for the NUL enum member
static int ID_PRINTWRITER
          Sybmolic Constant for the PRINTWRITER enum member
static int ID_STRING
          Sybmolic Constant for the STRING enum member
private static java.util.HashMap MAP
           
static OutputType NUL
          Output will be ignored.
static OutputType PRINTWRITER
          Output will be feed to an existing open print writer.
static OutputType STRING
          Output will be concatentated to a string.
private static java.util.Collection VALUES
           
 
Fields inherited from class com.thermidor.util.Enum
id
 
Constructor Summary
OutputType(int token, java.lang.String value)
           
 
Method Summary
private  java.lang.Object readResolve()
           
static OutputType resolve(java.lang.String val)
           
 
Methods inherited from class com.thermidor.util.Enum
getId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAP

private static final java.util.HashMap MAP

VALUES

private static final java.util.Collection VALUES

ID_FILE

public static final int ID_FILE
Sybmolic Constant for the FILE enum member

See Also:
Constant Field Values

FILE

public static final OutputType FILE
Output will be directed to a file.


ID_APPEND

public static final int ID_APPEND
Sybmolic Constant for the APPEND enum member

See Also:
Constant Field Values

APPEND

public static final OutputType APPEND
Output will be appended to a file.


ID_STRING

public static final int ID_STRING
Sybmolic Constant for the STRING enum member

See Also:
Constant Field Values

STRING

public static final OutputType STRING
Output will be concatentated to a string.


ID_PRINTWRITER

public static final int ID_PRINTWRITER
Sybmolic Constant for the PRINTWRITER enum member

See Also:
Constant Field Values

PRINTWRITER

public static final OutputType PRINTWRITER
Output will be feed to an existing open print writer.


ID_NUL

public static final int ID_NUL
Sybmolic Constant for the NUL enum member

See Also:
Constant Field Values

NUL

public static final OutputType NUL
Output will be ignored.

Constructor Detail

OutputType

public OutputType(int token,
                  java.lang.String value)
Method Detail

resolve

public static OutputType resolve(java.lang.String val)
                          throws java.util.NoSuchElementException

readResolve

private java.lang.Object readResolve()