Class 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>