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:p64359_="https://jakarta.ee/xml/ns/jaxb" xmlns:p844335_="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 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 type.static classAttachmentType.ExtractJava class for anonymous complex type.static classAttachmentType.RemoveJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected AttachmentType.Addaddprotected AttachmentType.Extractextractprotected AttachmentType.Removeremove
-
Constructor Summary
Constructors Constructor Description AttachmentType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentType.AddgetAdd()Gets the value of the add property.AttachmentType.ExtractgetExtract()Gets the value of the extract property.AttachmentType.RemovegetRemove()Gets the value of the remove property.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
-
remove
protected AttachmentType.Remove remove
-
extract
protected AttachmentType.Extract extract
-
-
Method Detail
-
getAdd
public AttachmentType.Add getAdd()
Gets the value of the add property.- 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
-
isSetAdd
public boolean isSetAdd()
-
getRemove
public AttachmentType.Remove getRemove()
Gets the value of the remove property.- 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
-
isSetRemove
public boolean isSetRemove()
-
getExtract
public AttachmentType.Extract getExtract()
Gets the value of the extract property.- 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
-
isSetExtract
public boolean isSetExtract()
-
-