Class FileAttachmentType


  • public class FileAttachmentType
    extends Object
     <?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">Used to define an individual file attachment that should be added to the PDF document. This element can be used multiple times if you want to add multiple files.</p>
     

    Java class for FileAttachmentType complex type.

    The following schema fragment specifies the expected content contained within this class.

    
     <complexType name="FileAttachmentType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="data" type="{http://schema.webpdf.de/1.0/operation}AttachmentFileDataType"/>
             <element name="annotation" type="{http://schema.webpdf.de/1.0/operation}FileAnnotationType" minOccurs="0"/>
           </all>
           <attribute name="fileName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
           <attribute name="creator" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • FileAttachmentType

        public FileAttachmentType()
    • Method Detail

      • isSetData

        public boolean isSetData()
      • isSetAnnotation

        public boolean isSetAnnotation()
      • getFileName

        public String getFileName()
        Gets the value of the fileName property.
        Returns:
        possible object is String
      • setFileName

        public void setFileName​(String value)
        Sets the value of the fileName property.
        Parameters:
        value - allowed object is String
      • isSetFileName

        public boolean isSetFileName()
      • getMimeType

        public String getMimeType()
        Gets the value of the mimeType property.
        Returns:
        possible object is String
      • setMimeType

        public void setMimeType​(String value)
        Sets the value of the mimeType property.
        Parameters:
        value - allowed object is String
      • isSetMimeType

        public boolean isSetMimeType()
      • getCreator

        public String getCreator()
        Gets the value of the creator property.
        Returns:
        possible object is String
      • setCreator

        public void setCreator​(String value)
        Sets the value of the creator property.
        Parameters:
        value - allowed object is String
      • isSetCreator

        public boolean isSetCreator()