public final class InternetMessageHeader extends ComplexProperty
Modifier | Constructor and Description |
---|---|
protected |
InternetMessageHeader()
Initializes a new instance of the EwsXmlReader class.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name.
|
String |
getValue()
The value of the header.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the attribute from XML.
|
void |
readTextValueFromXml(EwsServiceXmlReader reader)
Reads the text value from XML.
|
void |
setName(String name)
The name of the header.
|
void |
setValue(String value)
Sets the value.
|
String |
toString()
Obtains a string representation of the header.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the 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, writeToXml
protected InternetMessageHeader()
public void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void readTextValueFromXml(EwsServiceXmlReader reader) throws XMLStreamException, ServiceXmlDeserializationException
readTextValueFromXml
in class ComplexProperty
reader
- the readerXMLStreamException
- the XML stream exceptionServiceXmlDeserializationException
- the service xml deserialization exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeElementsToXml
in class ComplexProperty
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionCopyright © 2012–2015 Microsoft. All rights reserved.