Constructor and Description |
---|
OofReply()
Initializes a new instance of the class.
|
OofReply(String message)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
String |
getCulture()
Gets the culture of the reply.
|
String |
getMessage()
Gets the the reply message.
|
static OofReply |
getOofReplyFromString(String message)
Initializes a new instance of the class.
|
static String |
getStringFromOofReply(OofReply oofReply)
Gets the string from oof reply.
|
void |
loadFromXml(EwsServiceXmlReader reader,
String xmlElementName)
Loads from XML.
|
void |
setCulture(String culture)
Sets the culture.
|
void |
setMessage(String message)
Sets the message.
|
String |
toString()
Obtains a string representation of the reply.
|
static void |
writeEmptyReplyToXml(EwsServiceXmlWriter writer,
String xmlElementName)
Writes an empty OofReply to XML.
|
void |
writeToXml(EwsServiceXmlWriter writer,
String xmlElementName)
Writes to XML.
|
public OofReply()
public static void writeEmptyReplyToXml(EwsServiceXmlWriter writer, String xmlElementName) throws XMLStreamException
writer
- the writerxmlElementName
- the xml element nameXMLStreamException
- the XML stream exceptionpublic static OofReply getOofReplyFromString(String message)
message
- the messagepublic static String getStringFromOofReply(OofReply oofReply) throws Exception
oofReply
- the oof replyException
- the exceptionpublic void loadFromXml(EwsServiceXmlReader reader, String xmlElementName) throws Exception
reader
- the readerxmlElementName
- the xml element nameException
- the exceptionpublic void writeToXml(EwsServiceXmlWriter writer, String xmlElementName) throws XMLStreamException, ServiceXmlSerializationException
writer
- the writerxmlElementName
- the xml element nameXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionpublic String getCulture()
public void setCulture(String culture)
culture
- the new culturepublic String getMessage()
public void setMessage(String message)
message
- the new messageCopyright © 2012–2015 Microsoft. All rights reserved.