Package com.deltaxml.dita.config
Enum Class MapResultOrigin
- All Implemented Interfaces:
com.deltaxml.dita.DitaCompareDisplayable,Serializable,Comparable<MapResultOrigin>,Constable
public enum MapResultOrigin
extends Enum<MapResultOrigin>
implements com.deltaxml.dita.DitaCompareDisplayable
Enumeration representing which map input is being used to form the basis of the output.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe first 'A' document map is being used as the basis of the output.The second 'B' document map is being used as the basis of the output. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user-friendly String description of the MapResultOrigin.Returns the user-friendly String name of the MapResultOrigin.toString()Returns a String representation of MapResultOrigin.static MapResultOriginReturns the enum constant of this class with the specified name.static MapResultOrigin[]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
-
A_DOCUMENT
The first 'A' document map is being used as the basis of the output. -
B_DOCUMENT
The second 'B' document map is being used as the basis of the output.
-
-
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
-
getDisplayName
Returns the user-friendly String name of the MapResultOrigin.
- Specified by:
getDisplayNamein interfacecom.deltaxml.dita.DitaCompareDisplayable- Returns:
- a user-friendly String representing the MapResultOrigin object
-
getDisplayDescription
Returns the user-friendly String description of the MapResultOrigin.
- Specified by:
getDisplayDescriptionin interfacecom.deltaxml.dita.DitaCompareDisplayable- Returns:
- a user-friendly String description representing the MapResultOrigin object
-
toString
Returns a String representation of MapResultOrigin.
- Overrides:
toStringin classEnum<MapResultOrigin>- Returns:
- a String representing the MapResultOrigin object
-