Class PdfPasswordType


  • public class PdfPasswordType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p689949_="https://jakarta.ee/xml/ns/jaxb" xmlns:p832256_="urn:jaxb.jvnet.org:plugin: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>
     
    • Field Detail

      • permission

        protected String permission
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p689949_="https://jakarta.ee/xml/ns/jaxb" xmlns:p832256_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A password that allows "editing access" to the document. If the provided PDF document is password protected and the web service operation is to edit the document, then the appropriate password (owner password) must be provided to unlock the document.</p>
         
      • open

        protected String open
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p689949_="https://jakarta.ee/xml/ns/jaxb" xmlns:p832256_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A password that is required to open the document. If the provided PDF document is protected in such a way that a password (user password) is required to read the document, the corresponding password must also be passed. Without this password it is not possible to edit the document with the web service, because it cannot be read.</p>
         
    • 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()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p689949_="https://jakarta.ee/xml/ns/jaxb" xmlns:p832256_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A password that allows "editing access" to the document. If the provided PDF document is password protected and the web service operation is to edit the document, then the appropriate password (owner password) must be provided to unlock the document.</p>
         
        Returns:
        possible object is String
      • setPermission

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

        public boolean isSetPermission()
      • getOpen

        public String getOpen()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p689949_="https://jakarta.ee/xml/ns/jaxb" xmlns:p832256_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">A password that is required to open the document. If the provided PDF document is protected in such a way that a password (user password) is required to read the document, the corresponding password must also be passed. Without this password it is not possible to edit the document with the web service, because it cannot be read.</p>
         
        Returns:
        possible object is String
      • setOpen

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

        public boolean isSetOpen()