public enum MapResultOrigin extends java.lang.Enum<MapResultOrigin> implements DitaCompareDisplayable
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the MapResultOrigin.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the MapResultOrigin.
|
static MapResultOrigin |
getMapResultOrigin(java.lang.String value)
Returns a MapResultOrigin object from the supplied String value if appropriate.
|
static MapResultOrigin |
parseValue(java.lang.String value)
Returns a MapResultOrigin object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of MapResultOrigin.
|
static MapResultOrigin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapResultOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapResultOrigin A_DOCUMENT
public static final MapResultOrigin B_DOCUMENT
public static MapResultOrigin[] values()
for (MapResultOrigin c : MapResultOrigin.values()) System.out.println(c);
public static MapResultOrigin 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 MapResultOrigin.
getDisplayName
in interface DitaCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the MapResultOrigin.
getDisplayDescription
in interface DitaCompareDisplayable
public java.lang.String toString()
Returns a String representation of MapResultOrigin.
toString
in class java.lang.Enum<MapResultOrigin>
public static MapResultOrigin getMapResultOrigin(java.lang.String value)
Returns a MapResultOrigin 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 MapResultOrigin valuepublic static MapResultOrigin parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a MapResultOrigin 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 MapResultOrigin 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.