Package com.pdftools.pdfa.conversion
Enum EventSeverity
- All Implemented Interfaces:
Serializable,Comparable<EventSeverity>
The severity of conversion events
SeeConverter.ConversionEventListener for more information on conversion events.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA conversion event which is generally considered a critical issueA conversion event which is of an informational natureA conversion event which is generally considered a non-critical issue -
Method Summary
Modifier and TypeMethodDescriptionstatic EventSeverityReturns 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 Details
-
INFORMATION
A conversion event which is of an informational nature
An informational event requires no further action.
By default events of the following
EventCategoryare 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
A conversion event which is generally considered a non-critical issue
An warning that might require further actions.
By default events of the following
EventCategoryare 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
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 Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-