com.deltaxml.odf
Enum WhitespaceOnlyChangeOutput

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

public enum WhitespaceOnlyChangeOutput
extends Enum<WhitespaceOnlyChangeOutput>

Enumeration representing the possible values to set as the output for whitespace only changes


Enum Constant Summary
OutputA
          The value stating that a modified whitespace only change should output the whitespace from input A
OutputB
          The value stating that a modified whitespace only change should output the whitespace from input B
ShowChanges
          The value stating that changes should be shown
 
Method Summary
static WhitespaceOnlyChangeOutput getWhitespaceOnlyChangeOutput(String value)
          
 String toString()
          Returns a String representation of the WhitespaceOnlyChangeOutput
static WhitespaceOnlyChangeOutput valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WhitespaceOnlyChangeOutput[] 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

ShowChanges

public static final WhitespaceOnlyChangeOutput ShowChanges
The value stating that changes should be shown


OutputA

public static final WhitespaceOnlyChangeOutput OutputA
The value stating that a modified whitespace only change should output the whitespace from input A


OutputB

public static final WhitespaceOnlyChangeOutput OutputB
The value stating that a modified whitespace only change should output the whitespace from input B

Method Detail

values

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

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

valueOf

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

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

getWhitespaceOnlyChangeOutput

public static WhitespaceOnlyChangeOutput getWhitespaceOnlyChangeOutput(String value)

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

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


© 2001-2009 DeltaXML Ltd. All Rights Reserved.