public enum ModifiedAttributeMode extends java.lang.Enum<ModifiedAttributeMode>
Enum Constant and Description |
---|
AUTOMATIC
The behaviour will depend on other parameter settings, primarily the output-format.
|
CHANGE
The associated modified attribute filter will be skipped, thus leaving the delta attribute change markup alone.
|
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 |
---|---|
static ModifiedAttributeMode |
getModifiedAttributeMode(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 CHANGE
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 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 value