public enum CompareType extends java.lang.Enum<CompareType>
Enum Constant and Description |
---|
IMAGE
Refers to image objects, this does not include images that are paintes as a pattern fill paint
|
LINE
Refers to all graphical elements (lines, curves, polygons) except images
|
TEXT
Refers to all text elements
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<com.inet.pdfc.model.ElementType> |
getElementTypesForCompareTypes(java.util.List<CompareType> diffTypes)
Returns a set of
ElementType which includes all element types covered
by the given CompareType s |
static CompareType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompareType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareType TEXT
public static final CompareType LINE
public static final CompareType IMAGE
public static CompareType[] values()
for (CompareType c : CompareType.values()) System.out.println(c);
public static CompareType 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 static java.util.Set<com.inet.pdfc.model.ElementType> getElementTypesForCompareTypes(java.util.List<CompareType> diffTypes)
ElementType
which includes all element types covered
by the given CompareType
sdiffTypes
- the diff CompareType
s to convert, may be null
and any element may be null
ElementType
referenced by the diff CompareType
s, never null
Copyright © 2010-2022 by i-net software GmbH