Package com.sforce.soap.metadata
Class Attachment
- java.lang.Object
-
- com.sforce.soap.metadata.Attachment
-
-
Constructor Summary
Constructors Constructor Description Attachment()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()StringgetName()voidload(XmlInputStream __in, TypeMapper __typeMapper)protected voidloadFields(XmlInputStream __in, TypeMapper __typeMapper)voidsetContent(byte[] content)protected voidsetContent(XmlInputStream __in, TypeMapper __typeMapper)protected voidsetName(XmlInputStream __in, TypeMapper __typeMapper)voidsetName(String name)StringtoString()voidwrite(QName __element, XmlOutputStream __out, TypeMapper __typeMapper)protected voidwriteFields(XmlOutputStream __out, TypeMapper __typeMapper)
-
-
-
Method Detail
-
getContent
public byte[] getContent()
-
setContent
public void setContent(byte[] content)
-
setContent
protected void setContent(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
getName
public String getName()
-
setName
public void setName(String name)
-
setName
protected void setName(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
write
public void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Specified by:
writein interfaceXMLizable- Throws:
IOException
-
writeFields
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
- Throws:
IOException
-
load
public void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Specified by:
loadin interfaceXMLizable- Throws:
IOExceptionConnectionException
-
loadFields
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
- Throws:
IOExceptionConnectionException
-
-