com.deltaxml.odf.merge
Enum ImageEditOutput

java.lang.Object
  extended by java.lang.Enum<ImageEditOutput>
      extended by com.deltaxml.odf.merge.ImageEditOutput
All Implemented Interfaces:
Serializable, Comparable<ImageEditOutput>

public enum ImageEditOutput
extends Enum<ImageEditOutput>

Enumeration representing the different options for outputting image and object edit units in the ODT Merger


Enum Constant Summary
ALL
          Output all image and object edit units
NONE
          Output no image and object edit units
 
Method Summary
static ImageEditOutput getImageEditOutput(String value)
          Returns an ImageEditOutput object from the supplied String value if appropriate
 String toString()
          Returns a String representation of the ImageEditOutput.
static ImageEditOutput valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImageEditOutput[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALL

public static final ImageEditOutput ALL
Output all image and object edit units


NONE

public static final ImageEditOutput NONE
Output no image and object edit units

Method Detail

values

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

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

valueOf

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

toString

public String toString()

Returns a String representation of the ImageEditOutput.

Overrides:
toString in class Enum<ImageEditOutput>
Returns:
a String representing the ImageEditOutput object

getImageEditOutput

public static ImageEditOutput getImageEditOutput(String value)

Returns an ImageEditOutput object from the supplied String value if appropriate

This method should not normally be necessary, enum values should be accessed directly. However, if you have a String representation of ImageEditOutput, it may be a useful utility method.

Parameters:
value - the String representation of ImageEditOutput
Returns:
the ImageEditOutput instance corresponding to the parameter, or null if the value is invalid


© 2001-2009 DeltaXML Ltd. All Rights Reserved.