public static enum DiffGroup.GroupType extends java.lang.Enum<DiffGroup.GroupType> implements com.inet.pdfc.config.ColorSetting
DiffGroup
and thus how to interpret the content of the affected
elements lists. The enumeration is ordered in descending order by severity. For further details
about each type refer to the respective enum constant.Enum Constant and Description |
---|
AddedOrRemoved
Contains
Modification s which describe a remove in the first document or an add in the second
document. |
MetadataChanged
This type occurs for changes in the meta data or a page or the whole document.
|
Modified
The modified type indicates that the content in this group is similar on both documents but
changed in style.
|
Replaced
For this type, the
Modification s contain elements of similar type and equal style(per side). |
Sync
This is an optional type which is added by the generator at any identical locations in the document flow
to help any graphical presenter to keep the presented pages in sync.
|
ValidationError
A validation error is an indicator for a problem on a singular element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedName()
Returns the localized name for this type
|
java.lang.String |
getTyp()
The Visibility Type for this Setting (Enum)
|
boolean |
isTypePainted()
Indicates whether this group type is painted
|
static DiffGroup.GroupType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DiffGroup.GroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static DiffGroup.GroupType[] |
valuesVisible()
Returns the groups which should be visible to the user by default.
|
public static final DiffGroup.GroupType AddedOrRemoved
Modification
s which describe a remove in the first document or an add in the second
document.public static final DiffGroup.GroupType Replaced
Modification
s contain elements of similar type and equal style(per side).
This type is a special case of AddedOrRemoved. It is very likely but not guaranteed to
be a content replacement.public static final DiffGroup.GroupType Modified
Modification
contain the same number of elements
and each element is similar to it's counterpart in the other document.public static final DiffGroup.GroupType ValidationError
public static final DiffGroup.GroupType MetadataChanged
public static final DiffGroup.GroupType Sync
public static DiffGroup.GroupType[] values()
for (DiffGroup.GroupType c : DiffGroup.GroupType.values()) System.out.println(c);
public static DiffGroup.GroupType 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 boolean isTypePainted()
public static DiffGroup.GroupType[] valuesVisible()
public java.lang.String getLocalizedName()
public java.lang.String getTyp()
VisibilitySetting
Copyright © 2010-2022 by i-net software GmbH