public enum EventSeverity extends java.lang.Enum<EventSeverity>
Converter.ConversionEventListener
for more information on conversion events.Enum Constant | Description |
---|---|
ERROR |
A conversion event which is generally considered a critical issue
|
INFORMATION |
A conversion event which is of an informational nature
|
WARNING |
A conversion event which is generally considered a non-critical issue
|
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.
|
public static final EventSeverity INFORMATION
An informational event requires no further action.
By default events of the following EventCategory
are classified as INFORMATION
:
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
public static final EventSeverity WARNING
An warning that might require further actions.
By default events of the following EventCategory
are classified as WARNING
:
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)public static final EventSeverity ERROR
A critical issue for which the conversion must be considered as failed.
By default no event uses this severity.
public static EventSeverity[] values()
for (EventSeverity c : EventSeverity.values()) System.out.println(c);
public static EventSeverity 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 null