Package com.adobe.fd.assembler.client
Class PDFAValidationOptionSpec
- java.lang.Object
-
- com.adobe.fd.assembler.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
Nested Classes Modifier and Type Class Description static class
PDFAValidationOptionSpec.ResultLevel
Supported result levels.
-
Constructor Summary
Constructors Constructor Description PDFAValidationOptionSpec()
PDFAValidationOptions Default Constructor.PDFAValidationOptionSpec(PDFAConversionOptionSpec.Compliance compliance, PDFAValidationOptionSpec.ResultLevel resultLevel, boolean ignoreUnusedResource, boolean allowCertificationSignatures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDFAConversionOptionSpec.Compliance
getCompliance()
java.lang.String
getLogLevel()
Retrieves the log level.PDFAValidationOptionSpec.ResultLevel
getResultLevel()
boolean
isAllowCertificationSignatures()
boolean
isIgnoreUnusedResource()
void
setAllowCertificationSignatures(boolean allowCertificationSignatures)
void
setCompliance(PDFAConversionOptionSpec.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()
-
-
-
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 setresultLevel
- the resultLevel to setignoreUnusedResource
- the ignoreUnusedResource to setallowCertificationSignatures
- the allowCertificationSignatures to set
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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 ajava.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 PDFAConversionOptionSpec.Compliance getCompliance()
- Returns:
- the compliance
-
setCompliance
public void setCompliance(PDFAConversionOptionSpec.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
-
-