com.sforce.soap.partner
Class EmailFileAttachment

java.lang.Object
  extended by com.sforce.soap.partner.EmailFileAttachment
All Implemented Interfaces:
XMLizable

public class EmailFileAttachment
extends Object
implements XMLizable

Generated class, please do not edit.


Constructor Summary
EmailFileAttachment()
          Constructor
 
Method Summary
 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
protected  void loadFields(XmlInputStream __in, TypeMapper __typeMapper)
           
 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  void writeFields(XmlOutputStream __out, TypeMapper __typeMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailFileAttachment

public EmailFileAttachment()
Constructor

Method Detail

getBody

public byte[] getBody()

setBody

public void setBody(byte[] body)

getContentType

public String getContentType()

setContentType

public void setContentType(String contentType)

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)

getInline

public boolean getInline()

isInline

public boolean isInline()

setInline

public void setInline(boolean inline)

write

public void write(QName __element,
                  XmlOutputStream __out,
                  TypeMapper __typeMapper)
           throws IOException
Description copied from interface: XMLizable
write this instace as xml.

Specified by:
write in interface XMLizable
Parameters:
__element - xml element name
__out - xml output stream
__typeMapper - type mapper to be used
Throws:
IOException - failed to write xml

writeFields

protected void writeFields(XmlOutputStream __out,
                           TypeMapper __typeMapper)
                    throws IOException
Throws:
IOException

load

public void load(XmlInputStream __in,
                 TypeMapper __typeMapper)
          throws IOException,
                 ConnectionException
Description copied from interface: XMLizable
load the fileds/children from the specified xml stream

Specified by:
load in interface XMLizable
Parameters:
__in - xml input stream from which the data is read
__typeMapper - type mapper to be used
Throws:
IOException - failed to read xml
ConnectionException - failed to read/parser/bind xml

loadFields

protected void loadFields(XmlInputStream __in,
                          TypeMapper __typeMapper)
                   throws IOException,
                          ConnectionException
Throws:
IOException
ConnectionException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.