com.acesoft.aceoffix
Enum DocumentVersion

java.lang.Object
  extended by java.lang.Enum<DocumentVersion>
      extended by com.acesoft.aceoffix.DocumentVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DocumentVersion>

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

The document type and version.

Version:
5.0
Author:
Acesoft Corporation

Enum Constant Summary
Excel2003
           
Excel2007
           
PowerPoint2003
           
PowerPoint2007
           
Word2003
           
Word2007
           
 
Method Summary
static DocumentVersion valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DocumentVersion[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Word2003

public static final DocumentVersion Word2003

Excel2003

public static final DocumentVersion Excel2003

PowerPoint2003

public static final DocumentVersion PowerPoint2003

Word2007

public static final DocumentVersion Word2007

Excel2007

public static final DocumentVersion Excel2007

PowerPoint2007

public static final DocumentVersion PowerPoint2007
Method Detail

values

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

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

valueOf

public static DocumentVersion 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