public class

EmailFileAttachment

extends Object
implements XMLizable
java.lang.Object
   ↳ com.sforce.soap.partner.EmailFileAttachment

Class Overview

Generated class, please do not edit.

Summary

Fields
private byte[] body
private boolean body__is_set
private static final TypeInfo body__typeInfo element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary java type: byte[]
private String contentType
private boolean contentType__is_set
private static final TypeInfo contentType__typeInfo element : contentType of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private String fileName
private boolean fileName__is_set
private static final TypeInfo fileName__typeInfo element : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String
private boolean inline
private boolean inline__is_set
private static final TypeInfo inline__typeInfo element : inline of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean
Public Constructors
EmailFileAttachment()
Constructor
Public Methods
byte[] getBody()
String getContentType()
String getFileName()
boolean getInline()
boolean isInline()
void load(XmlInputStream __in, TypeMapper __typeMapper)
load the fileds/children from the specified xml stream
void setBody(byte[] body)
void setContentType(String contentType)
void setFileName(String fileName)
void setInline(boolean inline)
String toString()
void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)
write this instace as xml.
Protected Methods
void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.sforce.ws.bind.XMLizable

Fields

private byte[] body

private boolean body__is_set

private static final TypeInfo body__typeInfo

element : body of type {http://www.w3.org/2001/XMLSchema}base64Binary java type: byte[]

private String contentType

private boolean contentType__is_set

private static final TypeInfo contentType__typeInfo

element : contentType of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private String fileName

private boolean fileName__is_set

private static final TypeInfo fileName__typeInfo

element : fileName of type {http://www.w3.org/2001/XMLSchema}string java type: java.lang.String

private boolean inline

private boolean inline__is_set

private static final TypeInfo inline__typeInfo

element : inline of type {http://www.w3.org/2001/XMLSchema}boolean java type: boolean

Public Constructors

public EmailFileAttachment ()

Constructor

Public Methods

public byte[] getBody ()

public String getContentType ()

public String getFileName ()

public boolean getInline ()

public boolean isInline ()

public void load (XmlInputStream __in, TypeMapper __typeMapper)

load the fileds/children from the specified xml stream

Parameters
__in Xml input stream from which the data is read
__typeMapper Type mapper to be used
Throws
ConnectionException
IOException

public void setBody (byte[] body)

Parameters
body

public void setContentType (String contentType)

Parameters
contentType

public void setFileName (String fileName)

Parameters
fileName

public void setInline (boolean inline)

Parameters
inline

public String toString ()

public void write (QName __element, XmlOutputStream __out, TypeMapper __typeMapper)

write this instace as xml.

Parameters
__element Xml element name
__out Xml output stream
__typeMapper Type mapper to be used
Throws
IOException

Protected Methods

protected void loadFields (XmlInputStream __in, TypeMapper __typeMapper)

Parameters
__in
__typeMapper
Throws
ConnectionException
IOException

protected void writeFields (XmlOutputStream __out, TypeMapper __typeMapper)

Parameters
__out
__typeMapper
Throws
IOException