net.sf.farrago.namespace.flatfile
Enum FlatFileProgramWriter.Section

java.lang.Object
  extended by java.lang.Enum<FlatFileProgramWriter.Section>
      extended by net.sf.farrago.namespace.flatfile.FlatFileProgramWriter.Section
All Implemented Interfaces:
Serializable, Comparable<FlatFileProgramWriter.Section>
Enclosing class:
FlatFileProgramWriter

private static enum FlatFileProgramWriter.Section
extends Enum<FlatFileProgramWriter.Section>

Identifies a section of a flat file program


Enum Constant Summary
ALL
          Includes the entire program
FENNEL
          Fennel compatible program section, may include the entire program, but does not include custom datetime conversions.
JAVA_ONLY
          Fennel incompatible program section.
 
Method Summary
static FlatFileProgramWriter.Section valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FlatFileProgramWriter.Section[] 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

FENNEL

public static final FlatFileProgramWriter.Section FENNEL
Fennel compatible program section, may include the entire program, but does not include custom datetime conversions.


JAVA_ONLY

public static final FlatFileProgramWriter.Section JAVA_ONLY
Fennel incompatible program section. Includes custom datetime conversions, but not ISO datetime conversions. May be empty.


ALL

public static final FlatFileProgramWriter.Section ALL
Includes the entire program

Method Detail

values

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

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

valueOf

public static FlatFileProgramWriter.Section 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