Class EncryptType

  • All Implemented Interfaces:
    AccessPermissionType

    public class EncryptType
    extends Object
    implements AccessPermissionType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p321944_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:p909790_="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>
     
    • Constructor Detail

      • EncryptType

        public EncryptType()
    • Method Detail

      • isSetPassword

        public boolean isSetPassword()
      • isSetContentEncryption

        public boolean isSetContentEncryption()
      • setCanAssemble

        public void setCanAssemble​(boolean value)
        Sets the value of the canAssemble property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanAssemble

        public boolean isSetCanAssemble()
      • unsetCanAssemble

        public void unsetCanAssemble()
      • setCanExtractContent

        public void setCanExtractContent​(boolean value)
        Sets the value of the canExtractContent property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanExtractContent

        public boolean isSetCanExtractContent()
      • unsetCanExtractContent

        public void unsetCanExtractContent()
      • setCanExtractForAccessibility

        public void setCanExtractForAccessibility​(boolean value)
        Sets the value of the canExtractForAccessibility property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanExtractForAccessibility

        public boolean isSetCanExtractForAccessibility()
      • unsetCanExtractForAccessibility

        public void unsetCanExtractForAccessibility()
      • setCanFillInForm

        public void setCanFillInForm​(boolean value)
        Sets the value of the canFillInForm property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanFillInForm

        public boolean isSetCanFillInForm()
      • unsetCanFillInForm

        public void unsetCanFillInForm()
      • setCanModify

        public void setCanModify​(boolean value)
        Sets the value of the canModify property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanModify

        public boolean isSetCanModify()
      • unsetCanModify

        public void unsetCanModify()
      • setCanModifyAnnotations

        public void setCanModifyAnnotations​(boolean value)
        Sets the value of the canModifyAnnotations property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanModifyAnnotations

        public boolean isSetCanModifyAnnotations()
      • unsetCanModifyAnnotations

        public void unsetCanModifyAnnotations()
      • setCanPrint

        public void setCanPrint​(boolean value)
        Sets the value of the canPrint property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanPrint

        public boolean isSetCanPrint()
      • unsetCanPrint

        public void unsetCanPrint()
      • setCanPrintHighRes

        public void setCanPrintHighRes​(boolean value)
        Sets the value of the canPrintHighRes property.
        Parameters:
        value - allowed object is Boolean
      • isSetCanPrintHighRes

        public boolean isSetCanPrintHighRes()
      • unsetCanPrintHighRes

        public void unsetCanPrintHighRes()