com.adobe.livecycle.docconverter.client
Class PDFAValidationOptionSpec

java.lang.Object
  extended by com.adobe.livecycle.docconverter.client.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

Nested Class Summary
static class PDFAValidationOptionSpec.Compliance
          Supported conformance.
static class PDFAValidationOptionSpec.ResultLevel
          Supported result levels.
 
Constructor Summary
PDFAValidationOptionSpec()
          PDFAValidationOptions Default Constructor.
PDFAValidationOptionSpec(PDFAValidationOptionSpec.Compliance compliance, PDFAValidationOptionSpec.ResultLevel resultLevel, boolean ignoreUnusedResource, boolean allowCertificationSignatures)
           
 
Method Summary
 PDFAValidationOptionSpec.Compliance getCompliance()
           
 java.lang.String getLogLevel()
          Retrieves the log level.
 PDFAValidationOptionSpec.ResultLevel getResultLevel()
           
 boolean isAllowCertificationSignatures()
           
 boolean isIgnoreUnusedResource()
           
 void setAllowCertificationSignatures(boolean allowCertificationSignatures)
           
 void setCompliance(PDFAValidationOptionSpec.Compliance compliance)
           
 void setIgnoreUnusedResource(boolean ignoreUnusedResource)
           
 void setLogLevel(java.lang.String logLevel)
          Sets the log level.
 void setResultLevel(PDFAValidationOptionSpec.ResultLevel resultLevel)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PDFAValidationOptionSpec

public PDFAValidationOptionSpec()
PDFAValidationOptions Default Constructor.


PDFAValidationOptionSpec

public PDFAValidationOptionSpec(PDFAValidationOptionSpec.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:

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

getCompliance

public PDFAValidationOptionSpec.Compliance getCompliance()
Returns:
the compliance

setCompliance

public void setCompliance(PDFAValidationOptionSpec.Compliance compliance)
Parameters:
compliance - the compliance to set

isIgnoreUnusedResource

public boolean isIgnoreUnusedResource()
Returns:
the ignoreUnusedResource

setIgnoreUnusedResource

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

getResultLevel

public PDFAValidationOptionSpec.ResultLevel getResultLevel()
Returns:
the resultLevel

setResultLevel

public void setResultLevel(PDFAValidationOptionSpec.ResultLevel resultLevel)
Parameters:
resultLevel - the resultLevel to set