Class AttachmentType

  • All Implemented Interfaces:
    ParameterInterface

    public class AttachmentType
    extends BaseToolboxType
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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>
     
    • Field Detail

      • add

        protected AttachmentType.Add add
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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">Used to add an attachment to the document.</p>
         
      • remove

        protected AttachmentType.Remove remove
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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">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:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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">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>
         
    • Constructor Detail

      • AttachmentType

        public AttachmentType()
    • Method Detail

      • getAdd

        public AttachmentType.Add getAdd()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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">Used to add an attachment to the document.</p>
         
        Returns:
        possible object is AttachmentType.Add
      • isSetAdd

        public boolean isSetAdd()
      • getRemove

        public AttachmentType.Remove getRemove()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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">Used to remove one or more attachments from the document.</p>
         
        Returns:
        possible object is AttachmentType.Remove
      • isSetRemove

        public boolean isSetRemove()
      • getExtract

        public AttachmentType.Extract getExtract()
         <?xml version="1.0" encoding="UTF-8"?><p xmlns:p338479_="https://jakarta.ee/xml/ns/jaxb" xmlns:p733184_="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">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
      • isSetExtract

        public boolean isSetExtract()