Package net.webpdf.wsclient.openapi
Class OperationPdfaSettings
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationPdfaSettings
-
public class OperationPdfaSettings extends Object
The `pdfa` element allows to make settings for automatic handling of PDF/A documents. Editing a PDF/A document will most likely render it invalid, thus the web service operation checks whether it´s execution is valid for a given PDF/A document according to these settings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperationPdfaSettings.PdfaEditProfileEnumDefines the profile whose rules web services have to check before they can come to execution.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PDFA_EDIT_PROFILE
-
Constructor Summary
Constructors Constructor Description OperationPdfaSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@Nullable OperationPdfaSettings.PdfaEditProfileEnumgetPdfaEditProfile()Defines the profile whose rules web services have to check before they can come to execution.inthashCode()OperationPdfaSettingspdfaEditProfile(OperationPdfaSettings.PdfaEditProfileEnum pdfaEditProfile)voidsetPdfaEditProfile(OperationPdfaSettings.PdfaEditProfileEnum pdfaEditProfile)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_PDFA_EDIT_PROFILE
public static final String JSON_PROPERTY_PDFA_EDIT_PROFILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
pdfaEditProfile
public OperationPdfaSettings pdfaEditProfile(OperationPdfaSettings.PdfaEditProfileEnum pdfaEditProfile)
-
getPdfaEditProfile
@Nullable public @Nullable OperationPdfaSettings.PdfaEditProfileEnum getPdfaEditProfile()
Defines the profile whose rules web services have to check before they can come to execution. These profiles define a set of rules concerning the validity of PDF/A documents. A web service whose execution for a given PDF/A document would violate the rule set selected here should instead abort with an appropriate error code. * generalEditRestrictions = All changes to PDF/A documents are prohibited. * removePdfaMetadata = All changes to PDF/A documents are allowed, but the PDF/A state of the document is revoked. (By removing the PDF/A metadata.) * noEditRestrictions = All changes to PDF/A documents are allowed, without touching the PDF/A state of the document. (Risking the invalidation of the document.)- Returns:
- pdfaEditProfile
-
setPdfaEditProfile
public void setPdfaEditProfile(OperationPdfaSettings.PdfaEditProfileEnum pdfaEditProfile)
-
-