Class AttachmentType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.BaseToolboxType
-
- net.webpdf.wsclient.schema.operation.AttachmentType
-
- All Implemented Interfaces:
ParameterInterface
public class AttachmentType extends BaseToolboxType
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="https://jakarta.ee/xml/ns/jaxb" xmlns:tns="http://schema.webpdf.de/1.0/operation" xmlns:xs="http://www.w3.org/2001/XMLSchema">The attachment operation element can be used to add, remove, and extract file attachments to and from the PDF document.</p>
Java class for AttachmentType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="AttachmentType"> <complexContent> <extension base="{http://schema.webpdf.de/1.0/operation}BaseToolboxType"> <choice> <element name="add"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="file" type="{http://schema.webpdf.de/1.0/operation}FileAttachmentType"/> </choice> </restriction> </complexContent> </complexType> </element> <element name="remove"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="selection" type="{http://schema.webpdf.de/1.0/operation}SelectionAttachmentType"/> </choice> </restriction> </complexContent> </complexType> </element> <element name="extract"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element name="selection" type="{http://schema.webpdf.de/1.0/operation}SelectionAttachmentType"/> </choice> <attribute name="folderNameTemplate" type="{http://www.w3.org/2001/XMLSchema}string" default="page[%d]" /> <attribute name="singleFileAsZip" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType> </element> </choice> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachmentType.AddJava class for anonymous complex typestatic classAttachmentType.ExtractJava class for anonymous complex typestatic classAttachmentType.RemoveJava class for anonymous complex type
-
Field Summary
Fields Modifier and Type Field Description protected AttachmentType.Addadd<?protected AttachmentType.Extractextract<?protected AttachmentType.Removeremove<?
-
Constructor Summary
Constructors Constructor Description AttachmentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentType.AddgetAdd()<?AttachmentType.ExtractgetExtract()<?AttachmentType.RemovegetRemove()<?booleanisSetAdd()booleanisSetExtract()booleanisSetRemove()voidsetAdd(AttachmentType.Add value)Sets the value of the add property.voidsetExtract(AttachmentType.Extract value)Sets the value of the extract property.voidsetRemove(AttachmentType.Remove value)Sets the value of the remove property.
-
-
-
Field Detail
-
add
protected AttachmentType.Add add
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="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 add an attachment to the document.</p>
-
remove
protected AttachmentType.Remove remove
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="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 remove one or more attachments from the document.</p>
-
extract
protected AttachmentType.Extract extract
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="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 extract one or more attachments from the document. If more than one file is defined with selection, the result is returned in the form of a ZIP document.</p>
-
-
Method Detail
-
getAdd
public AttachmentType.Add getAdd()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="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 add an attachment to the document.</p>
- Returns:
- possible object is
AttachmentType.Add
-
setAdd
public void setAdd(AttachmentType.Add value)
Sets the value of the add property.- Parameters:
value- allowed object isAttachmentType.Add- See Also:
getAdd()
-
isSetAdd
public boolean isSetAdd()
-
getRemove
public AttachmentType.Remove getRemove()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="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 remove one or more attachments from the document.</p>
- Returns:
- possible object is
AttachmentType.Remove
-
setRemove
public void setRemove(AttachmentType.Remove value)
Sets the value of the remove property.- Parameters:
value- allowed object isAttachmentType.Remove- See Also:
getRemove()
-
isSetRemove
public boolean isSetRemove()
-
getExtract
public AttachmentType.Extract getExtract()
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p241767_="urn:jaxb.jvnet.org:plugin:inheritance" xmlns:p507843_="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 extract one or more attachments from the document. If more than one file is defined with selection, the result is returned in the form of a ZIP document.</p>
- Returns:
- possible object is
AttachmentType.Extract
-
setExtract
public void setExtract(AttachmentType.Extract value)
Sets the value of the extract property.- Parameters:
value- allowed object isAttachmentType.Extract- See Also:
getExtract()
-
isSetExtract
public boolean isSetExtract()
-
-