public enum KeyingMode extends java.lang.Enum<KeyingMode> implements DocBookCompareDisplayable
Enum Constant and Description |
---|
CONDITION
Use a condition attribute if present.
|
ID
Use an id attribute if present.
|
KEY_THEN_CONDITION
Use a deltaxml:key attribute if present, otherwise use a condition attribute if present
|
KEY_THEN_ID
Use a deltaxml:key attribute if present, otherwise use an id attribute if present
|
PRESERVE
Use existing deltaxml:key attributes from the input (and nothing else)
|
REMOVE
Remove all existing deltaxml:key attributes and do not add any others
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the KeyingMode.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the KeyingMode.
|
static KeyingMode |
getKeyingMode(java.lang.String value)
Returns a KeyingMode object from the supplied String value if appropriate.
|
static KeyingMode |
parseValue(java.lang.String value)
Returns a KeyingMode object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of KeyingMode.
|
static KeyingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static KeyingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyingMode PRESERVE
public static final KeyingMode KEY_THEN_ID
public static final KeyingMode KEY_THEN_CONDITION
public static final KeyingMode ID
public static final KeyingMode CONDITION
public static final KeyingMode REMOVE
public static KeyingMode[] values()
for (KeyingMode c : KeyingMode.values()) System.out.println(c);
public static KeyingMode 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 KeyingMode.
getDisplayName
in interface DocBookCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the KeyingMode.
getDisplayDescription
in interface DocBookCompareDisplayable
public java.lang.String toString()
Returns a String representation of KeyingMode.
toString
in class java.lang.Enum<KeyingMode>
public static KeyingMode getKeyingMode(java.lang.String value)
Returns a KeyingMode 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 KeyingMode valuepublic static KeyingMode parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a KeyingMode 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 KeyingMode valuejava.lang.IllegalArgumentException
- Whenever the provided string does not represent one of this enum'e enumerated values.Copyright (c) 2010-2016 DeltaXML Ltd. All Rights Reserved.