Package com.deltaxml.core.config
Enum Class ResultFormat
- All Implemented Interfaces:
Serializable,Comparable<ResultFormat>,Constable
Specifies the format of results output from the DocumentComparator.
- Since:
- 7.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReports changes using the Arbortext editor track changes format.Reports changes using the DeltaXML delta file result.Reports changes using Framemaker track changes processing instructions.Reports changes using oXygen Author track changes processing instructions.Reports changes using XMetaL track changes processing instructions. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultFormatgetResultFormat(String val) Returns aResultFormatobject based on the supplied String value.toString()The camel case string form of each of the enumerated type constants.static ResultFormatReturns the enum constant of this class with the specified name.static ResultFormat[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
-
Enum Constant Details
-
DELTA
Reports changes using the DeltaXML delta file result.
-
OXYGEN_TC
Reports changes using oXygen Author track changes processing instructions.
-
ARBORTEXT_TC
Reports changes using the Arbortext editor track changes format.
-
XMETAL_TC
Reports changes using XMetaL track changes processing instructions.
-
FRAMEMAKER_TC
Reports changes using Framemaker track changes processing instructions.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
The camel case string form of each of the enumerated type constants. Here, the string for an enumeration constant of the form 'FIRST_SECOND_THIRD' is 'firstSecondThird'.- Overrides:
toStringin classEnum<ResultFormat>- Returns:
- The camel case string form of each of the enumerated type constants.
-
getResultFormat
Returns a
ResultFormatobject based on the supplied String value.This method should not be used under normal circumstances, enum instance values should be used instead.
- Parameters:
val- a String representation of aResultFormatvalue ornullto get the default value- Returns:
- the
ResultFormatinstance corresponding to the supplied value, or null if the value is invalid
-