|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.UniqueBody
public final class UniqueBody
Represents the body part of an item that is unique to the conversation the item is part of.
| Constructor Summary | |
|---|---|
UniqueBody()
Initializes a new instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UniqueBody()
| Method Detail |
|---|
public static String getStringFromUniqueBody(UniqueBody messageBody)
throws Exception
messageBody - the message body
Exception - the exception
public void readAttributesFromXml(EwsServiceXmlReader reader)
throws Exception
readAttributesFromXml in class ComplexPropertyreader - the reader
Exception - the exception
public void readTextValueFromXml(EwsServiceXmlReader reader)
throws XMLStreamException,
ServiceXmlDeserializationException
readTextValueFromXml in class ComplexPropertyreader - the reader
XMLStreamException - the xml stream exception
ServiceXmlDeserializationException - the service xml deserialization exception
public void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
public void writeElementsToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeElementsToXml in class ComplexPropertywriter - the writer
ServiceXmlSerializationException - the service xml serialization exceptionpublic BodyType getBodyType()
public String getText()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||