public enum StepsConflictResolution extends java.lang.Enum<StepsConflictResolution> implements DitaCompareDisplayable
Enum Constant and Description |
---|
PREFER_A
Use the element name from the 'A' document to contain the compared entries.
|
PREFER_B
Use the element name from the 'B' document to contain the compared entries.
|
PREFER_STEPS
Use a steps element to contain the compared entries.
|
PREFER_STEPS_UNORDERED
Use a steps-unordered element to contain the compared entries.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the StepsConflictResolution.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the StepsConflictResolution.
|
static StepsConflictResolution |
getStepsConflictResolution(java.lang.String value)
Returns a StepsConflictResolution object from the supplied String value if appropriate.
|
static StepsConflictResolution |
parseValue(java.lang.String value)
Returns a StepsConflictResolution object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of StepsConflictResolution.
|
static StepsConflictResolution |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StepsConflictResolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepsConflictResolution PREFER_A
public static final StepsConflictResolution PREFER_B
public static final StepsConflictResolution PREFER_STEPS
public static final StepsConflictResolution PREFER_STEPS_UNORDERED
public static StepsConflictResolution[] values()
for (StepsConflictResolution c : StepsConflictResolution.values()) System.out.println(c);
public static StepsConflictResolution 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 getDisplayName()
Returns the user friendly String name of the StepsConflictResolution.
getDisplayName
in interface DitaCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the StepsConflictResolution.
getDisplayDescription
in interface DitaCompareDisplayable
public java.lang.String toString()
Returns a String representation of StepsConflictResolution.
toString
in class java.lang.Enum<StepsConflictResolution>
public static StepsConflictResolution getStepsConflictResolution(java.lang.String value)
Returns a StepsConflictResolution object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a StepsConflictResolution valuepublic static StepsConflictResolution parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a StepsConflictResolution object from the supplied String value if appropriate.
This method should not be used under normal circumstances, enum instance values should be used instead.
value
- a String representation of a StepsConflictResolution valuejava.lang.IllegalArgumentException
- Whenever the provided string does not represent one of this enum'e enumerated values.Copyright © 2001-2016 DeltaXML Ltd. All Rights Reserved.