de.init.its.process
Enum ItsODTDocumentType

java.lang.Object
  extended by java.lang.Enum<ItsODTDocumentType>
      extended by de.init.its.process.ItsODTDocumentType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ItsODTDocumentType>

public enum ItsODTDocumentType
extends java.lang.Enum<ItsODTDocumentType>

Defines the type of an odt document

Author:
mkandora

Enum Constant Summary
ARCHODT
          used for archived / full odt files, that are basically a zip archive
FLATODT
          used for flat ODT files, that consists of an xml file
 
Method Summary
static ItsODTDocumentType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ItsODTDocumentType[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FLATODT

public static final ItsODTDocumentType FLATODT
used for flat ODT files, that consists of an xml file


ARCHODT

public static final ItsODTDocumentType ARCHODT
used for archived / full odt files, that are basically a zip archive

Method Detail

values

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

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

valueOf

public static ItsODTDocumentType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null