Class PdfPasswordType


  • public class PdfPasswordType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p20622_="https://jakarta.ee/xml/ns/jaxb" xmlns:p420076_="http://jaxb2-commons.dev.java.net/basic/inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The <code>password</code> element can be used to set the user and owner passwords or certificates for the PDF document which are needed if the PDF document is protected. For example, if a protected PDF document is to be edited with the web service, then these settings can be used to provide the password or certificates for access.
                     </p>
     

    Java class for PdfPasswordType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="PdfPasswordType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="keyPair" type="{http://schema.webpdf.de/1.0/operation}KeyPairType" minOccurs="0"/>
           </all>
           <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>
     
    • Constructor Detail

      • PdfPasswordType

        public PdfPasswordType()
    • Method Detail

      • getKeyPair

        public KeyPairType getKeyPair()
        Gets the value of the keyPair property.
        Returns:
        possible object is KeyPairType
      • setKeyPair

        public void setKeyPair​(KeyPairType value)
        Sets the value of the keyPair property.
        Parameters:
        value - allowed object is KeyPairType
      • isSetKeyPair

        public boolean isSetKeyPair()
      • getPermission

        public String getPermission()
        Gets the value of the permission property.
        Returns:
        possible object is String
      • setPermission

        public void setPermission​(String value)
        Sets the value of the permission property.
        Parameters:
        value - allowed object is String
      • isSetPermission

        public boolean isSetPermission()
      • getOpen

        public String getOpen()
        Gets the value of the open property.
        Returns:
        possible object is String
      • setOpen

        public void setOpen​(String value)
        Sets the value of the open property.
        Parameters:
        value - allowed object is String
      • isSetOpen

        public boolean isSetOpen()