public final class UniqueBody extends ComplexProperty
| Constructor and Description |
|---|
UniqueBody()
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
BodyType |
getBodyType()
Gets the type of the unique body's text.
|
static String |
getStringFromUniqueBody(UniqueBody messageBody)
Defines an implicit conversion of UniqueBody into a string.
|
String |
getText()
Gets the text of the unique body.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads attribute from XML.
|
void |
readTextValueFromXml(EwsServiceXmlReader reader)
Reads attribute from XML.
|
String |
toString() |
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes attributes from 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 UniqueBody()
public static String getStringFromUniqueBody(UniqueBody messageBody) throws Exception
messageBody - the message bodyException - the exceptionpublic 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 ServiceXmlSerializationException
writeElementsToXml in class ComplexPropertywriter - the writerServiceXmlSerializationException - the service xml serialization exceptionpublic BodyType getBodyType()
Copyright © 2012–2015 Microsoft. All rights reserved.