public enum ResultFormat extends java.lang.Enum<ResultFormat>
Specifies the format of results output from the DocumentComparator.
| Enum Constant and Description |
|---|
ARBORTEXT_TC
Reports changes using the Arbortext editor track changes format.
|
DELTA
Reports changes using the DeltaXML delta file result.
|
FRAMEMAKER_TC
Reports changes using Framemaker track changes processing instructions.
|
OXYGEN_TC
Reports changes using oXygen Author track changes processing instructions.
|
XMETAL_TC
Reports changes using XMetaL track changes processing instructions.
|
| Modifier and Type | Method and Description |
|---|---|
static ResultFormat |
getResultFormat(java.lang.String val)
Returns a
ResultFormat object based on the supplied String value. |
java.lang.String |
toString()
The camel case string form of each of the enumerated type constants.
|
static ResultFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultFormat DELTA
Reports changes using the DeltaXML delta file result.
public static final ResultFormat OXYGEN_TC
Reports changes using oXygen Author track changes processing instructions.
public static final ResultFormat ARBORTEXT_TC
Reports changes using the Arbortext editor track changes format.
public static final ResultFormat XMETAL_TC
Reports changes using XMetaL track changes processing instructions.
public static final ResultFormat FRAMEMAKER_TC
Reports changes using Framemaker track changes processing instructions.
public static ResultFormat[] values()
for (ResultFormat c : ResultFormat.values()) System.out.println(c);
public static ResultFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<ResultFormat>public static ResultFormat getResultFormat(java.lang.String val)
Returns a ResultFormat object based on the supplied String value.
This method should not be used under normal circumstances, enum instance values should be used instead.
val - a String representation of a ResultFormat value or null to get the default valueResultFormat instance corresponding to the supplied value, or null if the value is invalid