Enum ErrorCategory

java.lang.Object
java.lang.Enum<ErrorCategory>
com.pdftools.pdfa.validation.ErrorCategory
All Implemented Interfaces:
Serializable, Comparable<ErrorCategory>

public enum ErrorCategory extends Enum<ErrorCategory>

The validation error category

  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The 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 Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    static ErrorCategory[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • FORMAT

      public static final ErrorCategory FORMAT
      The file format (header, trailer, objects, xref, streams) is corrupted.
    • PDF

      public static final ErrorCategory PDF
      The document doesn't conform to the PDF reference or PDF/A Specification (missing required entries, wrong value types, etc.).
    • ENCRYPTION

      public static final ErrorCategory ENCRYPTION
      The file is encrypted.
    • COLOR

      public static final ErrorCategory COLOR
      The document contains device-specific color spaces.
    • RENDERING

      public static final ErrorCategory RENDERING
      The document contains illegal rendering hints (unknown intents, interpolation, transfer and halftone functions).
    • ALTERNATE

      public static final ErrorCategory ALTERNATE
      The document contains alternate information (images).
    • POST_SCRIPT

      public static final ErrorCategory POST_SCRIPT
      The document contains embedded PostScript code.
    • EXTERNAL

      public static final ErrorCategory EXTERNAL
      The document contains references to external content (reference XObjects, OPI).
    • FONT

      public static final ErrorCategory FONT
      The document contains fonts without embedded font programs or encoding information (CMAPs)
    • UNICODE

      public static final ErrorCategory UNICODE
      The document contains fonts without appropriate character to Unicode mapping information (ToUnicode maps)
    • TRANSPARENCY

      public static final ErrorCategory TRANSPARENCY
      The document contains transparency.
    • UNSUPPORTED_ANNOTATION

      public static final ErrorCategory UNSUPPORTED_ANNOTATION
      The document contains unknown annotation types.
    • MULTIMEDIA

      public static final ErrorCategory MULTIMEDIA
      The document contains multimedia annotations (sound, movies).
    • PRINT

      public static final ErrorCategory PRINT
      The document contains hidden, invisible, non-viewable or non-printable annotations.
    • APPEARANCE

      public static final ErrorCategory APPEARANCE
      The document contains annotations or form fields with ambiguous or without appropriate appearances.
    • ACTION

      public static final ErrorCategory ACTION
      The document contains actions types other than for navigation (launch, JavaScript, ResetForm, etc.)
    • METADATA

      public static final ErrorCategory METADATA
      The document's meta data is either missing or inconsistent or corrupt.
    • STRUCTURE

      public static final ErrorCategory STRUCTURE
      The document doesn't provide appropriate logical structure information.
    • OPTIONAL_CONTENT

      public static final ErrorCategory OPTIONAL_CONTENT
      The document contains optional content (layers).
    • EMBEDDED_FILE

      public static final ErrorCategory EMBEDDED_FILE
      The document contains embedded files.
    • SIGNATURE

      public static final ErrorCategory SIGNATURE
      The document contains signatures.
    • CUSTOM

      public static final ErrorCategory CUSTOM
      Violations of custom corporate directives.
  • Method Details

    • values

      public static ErrorCategory[] 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

      public static ErrorCategory valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null