Package com.pdftools.pdfa.validation
Enum ErrorCategory
- All Implemented Interfaces:
Serializable,Comparable<ErrorCategory>
The validation error category
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe document contains actions types other than for navigation (launch, JavaScript, ResetForm, etc.)The document contains alternate information (images).The document contains annotations or form fields with ambiguous or without appropriate appearances.The document contains device-specific color spaces.Violations of custom corporate directives.The document contains embedded files.The file is encrypted.The document contains references to external content (reference XObjects, OPI).The document contains fonts without embedded font programs or encoding information (CMAPs)The file format (header, trailer, objects, xref, streams) is corrupted.The document's meta data is either missing or inconsistent or corrupt.The document contains multimedia annotations (sound, movies).The document contains optional content (layers).The document doesn't conform to the PDF reference or PDF/A Specification (missing required entries, wrong value types, etc.).The document contains embedded PostScript code.The document contains hidden, invisible, non-viewable or non-printable annotations.The document contains illegal rendering hints (unknown intents, interpolation, transfer and halftone functions).The document contains signatures.The document doesn't provide appropriate logical structure information.The document contains transparency.The document contains fonts without appropriate character to Unicode mapping information (ToUnicode maps)The document contains unknown annotation types. -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorCategoryReturns the enum constant of this type with the specified name.static ErrorCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FORMAT
The file format (header, trailer, objects, xref, streams) is corrupted. -
PDF
The document doesn't conform to the PDF reference or PDF/A Specification (missing required entries, wrong value types, etc.). -
ENCRYPTION
The file is encrypted. -
COLOR
The document contains device-specific color spaces. -
RENDERING
The document contains illegal rendering hints (unknown intents, interpolation, transfer and halftone functions). -
ALTERNATE
The document contains alternate information (images). -
POST_SCRIPT
The document contains embedded PostScript code. -
EXTERNAL
The document contains references to external content (reference XObjects, OPI). -
FONT
The document contains fonts without embedded font programs or encoding information (CMAPs) -
UNICODE
The document contains fonts without appropriate character to Unicode mapping information (ToUnicode maps) -
TRANSPARENCY
The document contains transparency. -
UNSUPPORTED_ANNOTATION
The document contains unknown annotation types. -
MULTIMEDIA
The document contains multimedia annotations (sound, movies). -
PRINT
The document contains hidden, invisible, non-viewable or non-printable annotations. -
APPEARANCE
The document contains annotations or form fields with ambiguous or without appropriate appearances. -
ACTION
The document contains actions types other than for navigation (launch, JavaScript, ResetForm, etc.) -
METADATA
The document's meta data is either missing or inconsistent or corrupt. -
STRUCTURE
The document doesn't provide appropriate logical structure information. -
OPTIONAL_CONTENT
The document contains optional content (layers). -
EMBEDDED_FILE
The document contains embedded files. -
SIGNATURE
The document contains signatures. -
CUSTOM
Violations of custom corporate directives.
-
-
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
-