Class TemplateType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected TemplateDataTypedataprotected TemplateFileTypefileprotected Stringlanguage
-
Constructor Summary
Constructors Constructor Description TemplateType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateDataTypegetData()Gets the value of the data property.TemplateFileTypegetFile()Gets the value of the file property.StringgetLanguage()Gets the value of the language property.booleanisSetData()booleanisSetFile()booleanisSetLanguage()voidsetData(TemplateDataType value)Sets the value of the data property.voidsetFile(TemplateFileType value)Sets the value of the file property.voidsetLanguage(String value)Sets the value of the language property.
-
-
-
Field Detail
-
file
protected TemplateFileType file
-
data
protected TemplateDataType data
-
language
protected String language
-
-
Method Detail
-
getFile
public TemplateFileType getFile()
Gets the value of the file property.- Returns:
- possible object is
TemplateFileType
-
setFile
public void setFile(TemplateFileType value)
Sets the value of the file property.- Parameters:
value- allowed object isTemplateFileType
-
isSetFile
public boolean isSetFile()
-
getData
public TemplateDataType getData()
Gets the value of the data property.- Returns:
- possible object is
TemplateDataType
-
setData
public void setData(TemplateDataType value)
Sets the value of the data property.- Parameters:
value- allowed object isTemplateDataType
-
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 isString
-
isSetLanguage
public boolean isSetLanguage()
-
-