Class PdfPasswordType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.PdfPasswordType
-
public class PdfPasswordType extends Object
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="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 Summary
Fields Modifier and Type Field Description protected KeyPairTypekeyPairprotected Stringopen<?protected Stringpermission<?
-
Constructor Summary
Constructors Constructor Description PdfPasswordType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyPairTypegetKeyPair()Gets the value of the keyPair property.StringgetOpen()<?StringgetPermission()<?booleanisSetKeyPair()booleanisSetOpen()booleanisSetPermission()voidsetKeyPair(KeyPairType value)Sets the value of the keyPair property.voidsetOpen(String value)Sets the value of the open property.voidsetPermission(String value)Sets the value of the permission property.
-
-
-
Field Detail
-
keyPair
protected KeyPairType keyPair
-
permission
protected String permission
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="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:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="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>
-
-
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 isKeyPairType
-
isSetKeyPair
public boolean isSetKeyPair()
-
getPermission
public String getPermission()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="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 isString- See Also:
getPermission()
-
isSetPermission
public boolean isSetPermission()
-
getOpen
public String getOpen()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p931607_="https://jakarta.ee/xml/ns/jaxb" xmlns:p994488_="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.
-
isSetOpen
public boolean isSetOpen()
-
-