Class TemplateType

  • Direct Known Subclasses:
    ConverterTemplateType

    public class TemplateType
    extends Object
     <?xml version="1.0" encoding="UTF-8"?><p xmlns:p383362_="https://jakarta.ee/xml/ns/jaxb" xmlns:p837822_="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">Can be used to define settings for file formats for which a template is required for conversion. As of this writing, these settings apply to the following file formats:
                         <ul><li>MIME mail (eml)</li><li>Outlook message (msg)</li><li>iCalendar (ics) / vCalendar (vcs)</li><li>vCard (vcf)</li><li>Serial Vector Format (svg)</li><li>Text document (txt)</li></ul>
     
                         In addition, you can replace the default template with a custom template of your own in "file". You can also use your own variables in this custom template. These variables would then need to be passed with a JSON structure (Base64-encoded) in "data".
                     </p>
     

    Java class for TemplateType complex type.

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

    
     <complexType name="TemplateType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <all>
             <element name="file" type="{http://schema.webpdf.de/1.0/operation}TemplateFileType" minOccurs="0"/>
             <element name="data" type="{http://schema.webpdf.de/1.0/operation}TemplateDataType" minOccurs="0"/>
           </all>
           <attribute name="language" type="{http://schema.webpdf.de/1.0/operation}LanguageType" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • TemplateType

        public TemplateType()
    • Method Detail

      • isSetFile

        public boolean isSetFile()
      • isSetData

        public boolean isSetData()
      • getLanguage

        public String getLanguage()
        Gets the value of the language property.
        Returns:
        possible object is String
      • setLanguage

        public void setLanguage​(String value)
        Sets the value of the language property.
        Parameters:
        value - allowed object is String
      • isSetLanguage

        public boolean isSetLanguage()