Class EncryptType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.EncryptType
-
- All Implemented Interfaces:
AccessPermissionType
public class EncryptType extends Object implements AccessPermissionType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">These parameters can be used to set encryption for a PDF document.</p>
Java class for EncryptType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="EncryptType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice> <element name="password" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="encryptionKey" type="{http://schema.webpdf.de/1.0/operation}PdfEncryptionKeyType" default="RC4_128" /> <attribute name="permission" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> <attribute name="open" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </restriction> </complexContent> </complexType> </element> </choice> <attGroup ref="{http://schema.webpdf.de/1.0/operation}securityFlags"/> <attribute name="contentEncryption" type="{http://schema.webpdf.de/1.0/operation}PdfContentEncryptionType" default="encryptEverything" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncryptType.PasswordJava class for anonymous complex type
-
Field Summary
Fields Modifier and Type Field Description protected BooleancanAssemble<?protected BooleancanExtractContent<?protected BooleancanExtractForAccessibility<?protected BooleancanFillInForm<?protected BooleancanModify<?protected BooleancanModifyAnnotations<?protected BooleancanPrint<?protected BooleancanPrintHighRes<?protected PdfContentEncryptionTypecontentEncryption<?protected EncryptType.Passwordpassword<?
-
Constructor Summary
Constructors Constructor Description EncryptType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfContentEncryptionTypegetContentEncryption()<?EncryptType.PasswordgetPassword()<?booleanisCanAssemble()<?booleanisCanExtractContent()<?booleanisCanExtractForAccessibility()<?booleanisCanFillInForm()<?booleanisCanModify()<?booleanisCanModifyAnnotations()<?booleanisCanPrint()<?booleanisCanPrintHighRes()<?booleanisSetCanAssemble()booleanisSetCanExtractContent()booleanisSetCanExtractForAccessibility()booleanisSetCanFillInForm()booleanisSetCanModify()booleanisSetCanModifyAnnotations()booleanisSetCanPrint()booleanisSetCanPrintHighRes()booleanisSetContentEncryption()booleanisSetPassword()voidsetCanAssemble(boolean value)Sets the value of the canAssemble property.voidsetCanExtractContent(boolean value)Sets the value of the canExtractContent property.voidsetCanExtractForAccessibility(boolean value)Sets the value of the canExtractForAccessibility property.voidsetCanFillInForm(boolean value)Sets the value of the canFillInForm property.voidsetCanModify(boolean value)Sets the value of the canModify property.voidsetCanModifyAnnotations(boolean value)Sets the value of the canModifyAnnotations property.voidsetCanPrint(boolean value)Sets the value of the canPrint property.voidsetCanPrintHighRes(boolean value)Sets the value of the canPrintHighRes property.voidsetContentEncryption(PdfContentEncryptionType value)Sets the value of the contentEncryption property.voidsetPassword(EncryptType.Password value)Sets the value of the password property.voidunsetCanAssemble()voidunsetCanExtractContent()voidunsetCanExtractForAccessibility()voidunsetCanFillInForm()voidunsetCanModify()voidunsetCanModifyAnnotations()voidunsetCanPrint()voidunsetCanPrintHighRes()
-
-
-
Field Detail
-
password
protected EncryptType.Password password
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password for encryption and the encryption key length.</p>
-
contentEncryption
protected PdfContentEncryptionType contentEncryption
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies whether certain contents should be treated differently than others during encryption. <ul><li>encryptEverything = All contents of the document are encrypted without distinction (if provided by the standard).</li><li>exposeMetadata = The document's metadata is left unencrypted to make it discoverable by processing programs. (Has an effect only for 128 bit and 256 bit AES).</li></ul></p>
-
canAssemble
protected Boolean canAssemble
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be rearranged (e.g., pages can be deleted, inserted, and rotated).</p>
-
canExtractContent
protected Boolean canExtractContent
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) from the document.</p>
-
canExtractForAccessibility
protected Boolean canExtractForAccessibility
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) for accessibility purposes.</p>
-
canFillInForm
protected Boolean canFillInForm
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," form fields can be filled out and the document can be signed.</p>
-
canModify
protected Boolean canModify
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," changes to the document are permitted.</p>
-
canModifyAnnotations
protected Boolean canModifyAnnotations
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," comments can be added to the document and deleted from the document.</p>
-
canPrint
protected Boolean canPrint
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed.</p>
-
canPrintHighRes
protected Boolean canPrintHighRes
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed at high resolution levels.</p>
-
-
Method Detail
-
getPassword
public EncryptType.Password getPassword()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Used to set the password for encryption and the encryption key length.</p>
- Returns:
- possible object is
EncryptType.Password
-
setPassword
public void setPassword(EncryptType.Password value)
Sets the value of the password property.- Parameters:
value- allowed object isEncryptType.Password- See Also:
getPassword()
-
isSetPassword
public boolean isSetPassword()
-
getContentEncryption
public PdfContentEncryptionType getContentEncryption()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">Specifies whether certain contents should be treated differently than others during encryption. <ul><li>encryptEverything = All contents of the document are encrypted without distinction (if provided by the standard).</li><li>exposeMetadata = The document's metadata is left unencrypted to make it discoverable by processing programs. (Has an effect only for 128 bit and 256 bit AES).</li></ul></p>- Returns:
- possible object is
PdfContentEncryptionType
-
setContentEncryption
public void setContentEncryption(PdfContentEncryptionType value)
Sets the value of the contentEncryption property.- Parameters:
value- allowed object isPdfContentEncryptionType- See Also:
getContentEncryption()
-
isSetContentEncryption
public boolean isSetContentEncryption()
-
isCanAssemble
public boolean isCanAssemble()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be rearranged (e.g., pages can be deleted, inserted, and rotated).</p>
- Specified by:
isCanAssemblein interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanAssemble
public void setCanAssemble(boolean value)
Sets the value of the canAssemble property.- Parameters:
value- allowed object isBoolean- See Also:
isCanAssemble()
-
isSetCanAssemble
public boolean isSetCanAssemble()
-
unsetCanAssemble
public void unsetCanAssemble()
-
isCanExtractContent
public boolean isCanExtractContent()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) from the document.</p>
- Specified by:
isCanExtractContentin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanExtractContent
public void setCanExtractContent(boolean value)
Sets the value of the canExtractContent property.- Parameters:
value- allowed object isBoolean- See Also:
isCanExtractContent()
-
isSetCanExtractContent
public boolean isSetCanExtractContent()
-
unsetCanExtractContent
public void unsetCanExtractContent()
-
isCanExtractForAccessibility
public boolean isCanExtractForAccessibility()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," content can be extracted (copied) for accessibility purposes.</p>
- Specified by:
isCanExtractForAccessibilityin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanExtractForAccessibility
public void setCanExtractForAccessibility(boolean value)
Sets the value of the canExtractForAccessibility property.- Parameters:
value- allowed object isBoolean- See Also:
isCanExtractForAccessibility()
-
isSetCanExtractForAccessibility
public boolean isSetCanExtractForAccessibility()
-
unsetCanExtractForAccessibility
public void unsetCanExtractForAccessibility()
-
isCanFillInForm
public boolean isCanFillInForm()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," form fields can be filled out and the document can be signed.</p>
- Specified by:
isCanFillInFormin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanFillInForm
public void setCanFillInForm(boolean value)
Sets the value of the canFillInForm property.- Parameters:
value- allowed object isBoolean- See Also:
isCanFillInForm()
-
isSetCanFillInForm
public boolean isSetCanFillInForm()
-
unsetCanFillInForm
public void unsetCanFillInForm()
-
isCanModify
public boolean isCanModify()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," changes to the document are permitted.</p>
- Specified by:
isCanModifyin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanModify
public void setCanModify(boolean value)
Sets the value of the canModify property.- Parameters:
value- allowed object isBoolean- See Also:
isCanModify()
-
isSetCanModify
public boolean isSetCanModify()
-
unsetCanModify
public void unsetCanModify()
-
isCanModifyAnnotations
public boolean isCanModifyAnnotations()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," comments can be added to the document and deleted from the document.</p>
- Specified by:
isCanModifyAnnotationsin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanModifyAnnotations
public void setCanModifyAnnotations(boolean value)
Sets the value of the canModifyAnnotations property.- Parameters:
value- allowed object isBoolean- See Also:
isCanModifyAnnotations()
-
isSetCanModifyAnnotations
public boolean isSetCanModifyAnnotations()
-
unsetCanModifyAnnotations
public void unsetCanModifyAnnotations()
-
isCanPrint
public boolean isCanPrint()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed.</p>
- Specified by:
isCanPrintin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanPrint
public void setCanPrint(boolean value)
Sets the value of the canPrint property.- Parameters:
value- allowed object isBoolean- See Also:
isCanPrint()
-
isSetCanPrint
public boolean isSetCanPrint()
-
unsetCanPrint
public void unsetCanPrint()
-
isCanPrintHighRes
public boolean isCanPrintHighRes()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p129567_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p842874_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">If "true," the document can be printed at high resolution levels.</p>
- Specified by:
isCanPrintHighResin interfaceAccessPermissionType- Returns:
- possible object is
Boolean
-
setCanPrintHighRes
public void setCanPrintHighRes(boolean value)
Sets the value of the canPrintHighRes property.- Parameters:
value- allowed object isBoolean- See Also:
isCanPrintHighRes()
-
isSetCanPrintHighRes
public boolean isSetCanPrintHighRes()
-
unsetCanPrintHighRes
public void unsetCanPrintHighRes()
-
-