public class PDFAValidationOptionSpec extends Object implements 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.Modifier and Type | Class and Description |
---|---|
static class |
PDFAValidationOptionSpec.ResultLevel
Supported result levels.
|
Constructor and Description |
---|
PDFAValidationOptionSpec()
PDFAValidationOptions Default Constructor.
|
PDFAValidationOptionSpec(PDFAConversionOptionSpec.Compliance compliance,
PDFAValidationOptionSpec.ResultLevel resultLevel,
boolean ignoreUnusedResource,
boolean allowCertificationSignatures) |
Modifier and Type | Method and Description |
---|---|
PDFAConversionOptionSpec.Compliance |
getCompliance() |
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(String logLevel)
Sets the log level.
|
void |
setResultLevel(PDFAValidationOptionSpec.ResultLevel resultLevel) |
String |
toString() |
public PDFAValidationOptionSpec()
public PDFAValidationOptionSpec(PDFAConversionOptionSpec.Compliance compliance, PDFAValidationOptionSpec.ResultLevel resultLevel, boolean ignoreUnusedResource, boolean allowCertificationSignatures)
compliance
- the compliance to setresultLevel
- the resultLevel to setignoreUnusedResource
- the ignoreUnusedResource to setallowCertificationSignatures
- the allowCertificationSignatures to setpublic String toString()
public String getLogLevel()
String
containing the log level.public void setLogLevel(String logLevel)
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.
logLevel
- The log level to be set. This is the string representation of a
java.util.logging.Level
value.public boolean isAllowCertificationSignatures()
public void setAllowCertificationSignatures(boolean allowCertificationSignatures)
allowCertificationSignatures
- the allowCertificationSignatures to setpublic PDFAConversionOptionSpec.Compliance getCompliance()
public void setCompliance(PDFAConversionOptionSpec.Compliance compliance)
compliance
- the compliance to setpublic boolean isIgnoreUnusedResource()
public void setIgnoreUnusedResource(boolean ignoreUnusedResource)
ignoreUnusedResource
- the ignoreUnusedResource to setpublic PDFAValidationOptionSpec.ResultLevel getResultLevel()
public void setResultLevel(PDFAValidationOptionSpec.ResultLevel resultLevel)
resultLevel
- the resultLevel to setCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.