Class PDFAValidationOptionSpec

  • All Implemented Interfaces:
    java.io.Serializable

    public class PDFAValidationOptionSpec
    extends java.lang.Object
    implements java.io.Serializable
    PDFAValidationOptionSpec specifies the client-configurable settings that help drive the validation scan. These are needed because the PDF/A reference, like most specifications, contains a certain amount of ambiguity as to how it should be implemented, or Acrobat, the standard bearer, deviates in some way and therefor clients must choose how strictly to adhere to the spec vs. Acrobat's implementation.
    See Also:
    Serialized Form
    • Constructor Detail

      • PDFAValidationOptionSpec

        public PDFAValidationOptionSpec()
        PDFAValidationOptions Default Constructor.
      • PDFAValidationOptionSpec

        public PDFAValidationOptionSpec​(PDFAConversionOptionSpec.Compliance compliance,
                                        PDFAValidationOptionSpec.ResultLevel resultLevel,
                                        boolean ignoreUnusedResource,
                                        boolean allowCertificationSignatures)
        Parameters:
        compliance - the compliance to set
        resultLevel - the resultLevel to set
        ignoreUnusedResource - the ignoreUnusedResource to set
        allowCertificationSignatures - the allowCertificationSignatures to set
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        a String representation of this object
      • getLogLevel

        public java.lang.String getLogLevel()
        Retrieves the log level.
        Returns:
        A String containing the log level.
      • setLogLevel

        public void setLogLevel​(java.lang.String logLevel)
        Sets the log level. The log level can be set to an integer string or to one of 9 string values that have integer equivalents:
        • OFF = positive infinity
        • SEVERE = 1000
        • WARNING = 900
        • INFO = 800
        • CONFIG = 700
        • FINE = 500
        • FINER = 400
        • FINEST = 300
        • ALL = negative infinity

        If the log level is not set, then it defaults to "INFO". For investigation of problems, it can be set to "FINE", "FINER" or "FINEST", but performance will be negatively affected in this mode.

        Parameters:
        logLevel - The log level to be set. This is the string representation of a java.util.logging.Level value.
      • isAllowCertificationSignatures

        public boolean isAllowCertificationSignatures()
        Returns:
        the allowCertificationSignatures
      • setAllowCertificationSignatures

        public void setAllowCertificationSignatures​(boolean allowCertificationSignatures)
        Parameters:
        allowCertificationSignatures - the allowCertificationSignatures to set
      • isIgnoreUnusedResource

        public boolean isIgnoreUnusedResource()
        Returns:
        the ignoreUnusedResource
      • setIgnoreUnusedResource

        public void setIgnoreUnusedResource​(boolean ignoreUnusedResource)
        Parameters:
        ignoreUnusedResource - the ignoreUnusedResource to set