Package com.deltaxml.docbook.config
Enum Class UnmarkedChangeMode
- All Implemented Interfaces:
com.deltaxml.docbook.DocBookCompareDisplayable,Serializable,Comparable<UnmarkedChangeMode>,Constable
public enum UnmarkedChangeMode
extends Enum<UnmarkedChangeMode>
implements com.deltaxml.docbook.DocBookCompareDisplayable
Choose the version of the item to extract for output.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOutput the 'A' version of modified items; output deleted ('A') items; do not output inserted ('B') items.Output the 'A' version of modified items; output both inserted ('B') and deleted ('A') items.As 'A' except when processing an internal subset declaration, in which case act as 'AB'.Output the 'B' version of modified items; output inserted ('B') items; do not output deleted ('A') items.Output the 'B' version of modified items; output both inserted ('B') and deleted ('A') items.As 'B' except when processing an internal subset declaration, in which case act as 'BA'. -
Method Summary
Modifier and TypeMethodDescriptionReturns the user-friendly String description of the UnmarkedChangeMode.Returns the user-friendly String name of the UnmarkedChangeMode.toString()static UnmarkedChangeModeReturns the enum constant of this class with the specified name.static UnmarkedChangeMode[]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
-
DOCUMENT_B
Output the 'B' version of modified items; output inserted ('B') items; do not output deleted ('A') items. -
DOCUMENT_B_THEN_DECL_A
As 'B' except when processing an internal subset declaration, in which case act as 'BA'. -
DOCUMENT_B_THEN_A
Output the 'B' version of modified items; output both inserted ('B') and deleted ('A') items. -
DOCUMENT_A
Output the 'A' version of modified items; output deleted ('A') items; do not output inserted ('B') items. -
DOCUMENT_A_THEN_DECL_B
As 'A' except when processing an internal subset declaration, in which case act as 'AB'. -
DOCUMENT_A_THEN_B
Output the 'A' version of modified items; output both inserted ('B') and deleted ('A') items.
-
-
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 UnmarkedChangeMode.
- Specified by:
getDisplayNamein interfacecom.deltaxml.docbook.DocBookCompareDisplayable- Returns:
- a user-friendly String representing the UnmarkedChangeMode object
-
getDisplayDescription
Returns the user-friendly String description of the UnmarkedChangeMode.
- Specified by:
getDisplayDescriptionin interfacecom.deltaxml.docbook.DocBookCompareDisplayable- Returns:
- a user-friendly String description representing the UnmarkedChangeMode object
-
toString
- Overrides:
toStringin classEnum<UnmarkedChangeMode>
-