Class TemplateFileType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.TemplateFileType
-
- All Implemented Interfaces:
FileDataType<byte[]>
public class TemplateFileType extends Object implements FileDataType<byte[]>
<?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">The template is passed as Base64-encoded content in the "file" element. This template is HTML-based and can contain variables. For more information regarding the use of the templates, please refer to the chapter "Server-Conversion - Templates".</p>
Java class for TemplateFileType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TemplateFileType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> <attGroup ref="{http://schema.webpdf.de/1.0/operation}FileDataGroup"/> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description TemplateFileType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the value of the name property.FileDataSourceTypegetSource()Gets the value of the source property.StringgetUri()Gets the value of the uri property.byte[]getValue()Gets the value of the value property.booleanisSetName()booleanisSetSource()Returnstrue, if a file data source has been set.booleanisSetUri()Returnstrue, if a file source URI has been set.booleanisSetValue()Returnstrue, if a direct byte value has been set.voidsetName(String value)Sets the value of the name property.voidsetSource(FileDataSourceType value)Sets the value of the source property.voidsetUri(String value)Sets the value of the uri property.voidsetValue(byte[] value)Sets the value of the value property.
-
-
-
Field Detail
-
value
protected byte[] value
-
name
protected String name
-
source
protected FileDataSourceType source
-
uri
protected String uri
-
-
Method Detail
-
getValue
public byte[] getValue()
Gets the value of the value property.- Specified by:
getValuein interfaceFileDataType<byte[]>- Returns:
- possible object is byte[]
-
setValue
public void setValue(byte[] value)
Sets the value of the value property.- Specified by:
setValuein interfaceFileDataType<byte[]>- Parameters:
value- allowed object is byte[]
-
isSetValue
public boolean isSetValue()
Description copied from interface:FileDataTypeReturnstrue, if a direct byte value has been set.- Specified by:
isSetValuein interfaceFileDataType<byte[]>- Returns:
true, if a direct byte value has been set.
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isSetName
public boolean isSetName()
-
getSource
public FileDataSourceType getSource()
Gets the value of the source property.- Specified by:
getSourcein interfaceFileDataType<byte[]>- Returns:
- possible object is
FileDataSourceType
-
setSource
public void setSource(FileDataSourceType value)
Sets the value of the source property.- Specified by:
setSourcein interfaceFileDataType<byte[]>- Parameters:
value- allowed object isFileDataSourceType
-
isSetSource
public boolean isSetSource()
Description copied from interface:FileDataTypeReturnstrue, if a file data source has been set.- Specified by:
isSetSourcein interfaceFileDataType<byte[]>- Returns:
true, if a file data source has been set.
-
getUri
public String getUri()
Gets the value of the uri property.- Specified by:
getUriin interfaceFileDataType<byte[]>- Returns:
- possible object is
String
-
setUri
public void setUri(String value)
Sets the value of the uri property.- Specified by:
setUriin interfaceFileDataType<byte[]>- Parameters:
value- allowed object isString
-
isSetUri
public boolean isSetUri()
Description copied from interface:FileDataTypeReturnstrue, if a file source URI has been set.- Specified by:
isSetUriin interfaceFileDataType<byte[]>- Returns:
true, if a file source URI has been set.
-
-