Enum ErrorCategory

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ErrorCategory>

    public enum ErrorCategory
    extends java.lang.Enum<ErrorCategory>

    The validation error category

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACTION
      The document contains actions types other than for navigation (launch, JavaScript, ResetForm, etc.)
      ALTERNATE
      The document contains alternate information (images).
      APPEARANCE
      The document contains annotations or form fields with ambiguous or without appropriate appearances.
      COLOR
      The document contains device-specific color spaces.
      CUSTOM
      Violations of custom corporate directives.
      EMBEDDED_FILE
      The document contains embedded files.
      ENCRYPTION
      The file is encrypted.
      EXTERNAL
      The document contains references to external content (reference XObjects, OPI).
      FONT
      The document contains fonts without embedded font programs or encoding information (CMAPs)
      FORMAT
      The file format (header, trailer, objects, xref, streams) is corrupted.
      METADATA
      The document's meta data is either missing or inconsistent or corrupt.
      MULTIMEDIA
      The document contains multimedia annotations (sound, movies).
      OPTIONAL_CONTENT
      The document contains optional content (layers).
      PDF
      The document doesn't conform to the PDF reference or PDF/A Specification (missing required entries, wrong value types, etc.).
      POST_SCRIPT
      The document contains embedded PostScript code.
      PRINT
      The document contains hidden, invisible, non-viewable or non-printable annotations.
      RENDERING
      The document contains illegal rendering hints (unknown intents, interpolation, transfer and halftone functions).
      SIGNATURE
      The document contains signatures.
      STRUCTURE
      The document doesn't provide appropriate logical structure information.
      TRANSPARENCY
      The document contains transparency.
      UNICODE
      The document contains fonts without appropriate character to Unicode mapping information (ToUnicode maps)
      UNSUPPORTED_ANNOTATION
      The document contains unknown annotation types.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ErrorCategory valueOf​(java.lang.String name)
      Returns 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.
      • 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 Detail

      • 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 Detail

      • values

        public static ErrorCategory[] 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 (ErrorCategory c : ErrorCategory.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ErrorCategory 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 name
        java.lang.NullPointerException - if the argument is null