|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.MimeContent
public final class MimeContent
Represents the MIME content of an item.
Constructor Summary | |
---|---|
MimeContent()
Initializes a new instance of the class. |
|
MimeContent(java.lang.String characterSet,
byte[] content)
Initializes a new instance of the class. |
Method Summary | |
---|---|
java.lang.String |
getCharacterSet()
Gets the character set of the content. |
byte[] |
getContent()
Gets the character set of the content. |
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads attributes from XML. |
protected void |
readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads text value from XML. |
void |
setCharacterSet(java.lang.String characterSet)
Sets the character set. |
void |
setContent(byte[] content)
Sets the content. |
java.lang.String |
toString()
Writes attributes to XML. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes attributes to XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
Methods inherited from class microsoft.exchange.webservices.data.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 MimeContent()
public MimeContent(java.lang.String characterSet, byte[] content)
characterSet
- the character setcontent
- the contentMethod Detail |
---|
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
readAttributesFromXml
in class ComplexProperty
reader
- the reader
java.lang.Exception
- the exceptionprotected void readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws javax.xml.stream.XMLStreamException, ServiceXmlDeserializationException
readTextValueFromXml
in class ComplexProperty
reader
- the reader
javax.xml.stream.XMLStreamException
- the xML stream exception
ServiceXmlDeserializationException
- the service xml deserialization exceptionprotected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws javax.xml.stream.XMLStreamException
writeElementsToXml
in class ComplexProperty
writer
- the writer
javax.xml.stream.XMLStreamException
- the xML stream exceptionpublic java.lang.String getCharacterSet()
public void setCharacterSet(java.lang.String characterSet)
characterSet
- the new character setpublic byte[] getContent()
public void setContent(byte[] content)
content
- the new contentpublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |