public enum ModifiedAttributeMode extends java.lang.Enum<ModifiedAttributeMode> implements DitaCompareDisplayable
Enum Constant and Description |
---|
AUTOMATIC
The behaviour will depend on other parameter settings, primarily the output-format.
|
DOCUMENT_A
Output the 'A' version of modified attributes and any deleted ('A') attributes.
|
DOCUMENT_A_THEN_B
Output the 'A' version of modified attributes.
|
DOCUMENT_B
Output the 'B' version of modified attributes and any added ('B') attributes.
|
DOCUMENT_B_THEN_A
Output the 'B' version of modified attributes.
|
ENCODE_AS_ATTRIBUTES
Output the 'B' version of modified attributes and any added ('B') attributes but additionally show the changes encoded as
attributes in the attribute-change ('ac') namespace.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayDescription()
Returns the user friendly String description of the ModifiedAttributeMode.
|
java.lang.String |
getDisplayName()
Returns the user friendly String name of the ModifiedAttributeMode.
|
static ModifiedAttributeMode |
getModifiedAttributeMode(java.lang.String value)
Returns a ModifiedAttributeMode object from the supplied String value if appropriate.
|
static ModifiedAttributeMode |
parseValue(java.lang.String value)
Returns a ModifiedAttributeMode object from the supplied String value if appropriate.
|
java.lang.String |
toString()
Returns a String representation of ModifiedAttributeMode.
|
static ModifiedAttributeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModifiedAttributeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifiedAttributeMode AUTOMATIC
public static final ModifiedAttributeMode DOCUMENT_B
public static final ModifiedAttributeMode DOCUMENT_B_THEN_A
public static final ModifiedAttributeMode DOCUMENT_A
public static final ModifiedAttributeMode DOCUMENT_A_THEN_B
public static final ModifiedAttributeMode ENCODE_AS_ATTRIBUTES
public static ModifiedAttributeMode[] values()
for (ModifiedAttributeMode c : ModifiedAttributeMode.values()) System.out.println(c);
public static ModifiedAttributeMode 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 ModifiedAttributeMode.
getDisplayName
in interface DitaCompareDisplayable
public java.lang.String getDisplayDescription()
Returns the user friendly String description of the ModifiedAttributeMode.
getDisplayDescription
in interface DitaCompareDisplayable
public java.lang.String toString()
Returns a String representation of ModifiedAttributeMode.
toString
in class java.lang.Enum<ModifiedAttributeMode>
public static ModifiedAttributeMode getModifiedAttributeMode(java.lang.String value)
Returns a ModifiedAttributeMode 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 ModifiedAttributeMode valuepublic static ModifiedAttributeMode parseValue(java.lang.String value) throws java.lang.IllegalArgumentException
Returns a ModifiedAttributeMode 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 ModifiedAttributeMode 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.