Package com.pdftools.pdfa.conversion
Enum EventSeverity
- java.lang.Object
-
- java.lang.Enum<EventSeverity>
-
- com.pdftools.pdfa.conversion.EventSeverity
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EventSeverity>
public enum EventSeverity extends java.lang.Enum<EventSeverity>
The severity of conversion events
SeeConverter.ConversionEventListener
for more information on conversion events.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
A conversion event which is generally considered a critical issueINFORMATION
A conversion event which is of an informational natureWARNING
A conversion event which is generally considered a non-critical issue
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventSeverity
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EventSeverity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INFORMATION
public static final EventSeverity INFORMATION
A conversion event which is of an informational nature
An informational event requires no further action.
By default events of the following
EventCategory
are classified asINFORMATION
:-
EventCategory.MANAGED_COLORS
-
EventCategory.CHANGED_COLORANT
-
EventCategory.REMOVED_EXTERNAL_CONTENT
-
EventCategory.CONVERTED_FONT
-
EventCategory.SUBSTITUTED_FONT
-
EventCategory.REMOVED_ANNOTATION
-
EventCategory.REMOVED_MULTIMEDIA
-
EventCategory.REMOVED_ACTION
-
EventCategory.REMOVED_METADATA
-
EventCategory.REMOVED_STRUCTURE
-
EventCategory.CONVERTED_EMBEDDED_FILE
-
EventCategory.REMOVED_SIGNATURE
-
-
WARNING
public static final EventSeverity WARNING
A conversion event which is generally considered a non-critical issue
An warning that might require further actions.
By default events of the following
EventCategory
are classified asWARNING
:-
EventCategory.VISUAL_DIFFERENCES
-
EventCategory.REPAIRED_CORRUPTION
-
EventCategory.REMOVED_TRANSPARENCY
(PDF/A-1 only) -
EventCategory.REMOVED_EMBEDDED_FILE
(PDF/A-1 and PDF/A-2 only) -
EventCategory.REMOVED_OPTIONAL_CONTENT
(PDF/A-1 only)
-
-
ERROR
public static final EventSeverity ERROR
A conversion event which is generally considered a critical issue
A critical issue for which the conversion must be considered as failed.
By default no event uses this severity.
-
-
Method Detail
-
values
public static EventSeverity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventSeverity c : EventSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventSeverity valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-