public final class MimeContent extends ComplexProperty
| Constructor and Description |
|---|
MimeContent()
Initializes a new instance of the class.
|
MimeContent(String characterSet,
byte[] content)
Initializes a new instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCharacterSet()
Gets the character set of the content.
|
byte[] |
getContent()
Gets the character set of the content.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads attribute from XML.
|
void |
readTextValueFromXml(EwsServiceXmlReader reader)
Reads text value from XML.
|
void |
setCharacterSet(String characterSet)
Sets the character set.
|
void |
setContent(byte[] content)
Sets the content.
|
String |
toString()
Writes attribute to XML.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes attribute to XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXmlpublic MimeContent()
public MimeContent(String characterSet, byte[] content)
characterSet - the character setcontent - the contentpublic void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml in class ComplexPropertyreader - the readerException - the exceptionpublic void readTextValueFromXml(EwsServiceXmlReader reader) throws XMLStreamException, ServiceXmlDeserializationException
readTextValueFromXml in class ComplexPropertyreader - the readerXMLStreamException - the XML stream exceptionServiceXmlDeserializationException - the service xml deserialization exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - the writerServiceXmlSerializationException - the service xml serialization exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException
writeElementsToXml in class ComplexPropertywriter - the writerXMLStreamException - the XML stream exceptionpublic String getCharacterSet()
public void setCharacterSet(String characterSet)
characterSet - the new character setpublic byte[] getContent()
public void setContent(byte[] content)
content - the new contentCopyright © 2012–2015 Microsoft. All rights reserved.