Class MergeFileDataType
- java.lang.Object
-
- net.webpdf.wsclient.schema.operation.MergeFileDataType
-
- All Implemented Interfaces:
FileDataType<byte[]>
public class MergeFileDataType extends Object implements FileDataType<byte[]>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:p69245_="https://jakarta.ee/xml/ns/jaxb" xmlns:p890116_="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">Contains the BASE64 encoded file that should be inserted or appended. The "format" attribute is used to define whether the file is a single PDF document, a ZIP file containing multiple PDF documents or a list of documents references by ID. If a ZIP archive is passed as the source document of the web service request, this parameter can be omitted. The parameter "sourceIsZip" must be set to "true" in that case. </p>Java class for MergeFileDataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MergeFileDataType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>base64Binary"> <attGroup ref="{http://schema.webpdf.de/1.0/operation}FileDataGroup"/> <attribute name="format" default="pdf"> <simpleType> <restriction base="{http://schema.webpdf.de/1.0/operation}FileDataFormatType"> <enumeration value="id"/> <enumeration value="pdf"/> <enumeration value="zip"/> </restriction> </simpleType> </attribute> <attribute name="outlineName" type="{http://www.w3.org/2001/XMLSchema}string" default="" /> </extension> </simpleContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected FileDataFormatTypeformatprotected StringoutlineNameprotected FileDataSourceTypesourceprotected Stringuriprotected byte[]value
-
Constructor Summary
Constructors Constructor Description MergeFileDataType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileDataFormatTypegetFormat()Gets the value of the format property.StringgetOutlineName()Gets the value of the outlineName 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.booleanisSetFormat()booleanisSetOutlineName()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.voidsetFormat(FileDataFormatType value)Sets the value of the format property.voidsetOutlineName(String value)Sets the value of the outlineName 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
-
format
protected FileDataFormatType format
-
outlineName
protected String outlineName
-
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.
-
getFormat
public FileDataFormatType getFormat()
Gets the value of the format property.- Returns:
- possible object is
FileDataFormatType
-
setFormat
public void setFormat(FileDataFormatType value)
Sets the value of the format property.- Parameters:
value- allowed object isFileDataFormatType
-
isSetFormat
public boolean isSetFormat()
-
getOutlineName
public String getOutlineName()
Gets the value of the outlineName property.- Returns:
- possible object is
String
-
setOutlineName
public void setOutlineName(String value)
Sets the value of the outlineName property.- Parameters:
value- allowed object isString
-
isSetOutlineName
public boolean isSetOutlineName()
-
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.
-
-