Class InternetMessageHeader
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.InternetMessageHeader
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class InternetMessageHeader extends ComplexProperty
Defines the EwsXmlReader class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedInternetMessageHeader()Initializes a new instance of the EwsXmlReader class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name.StringgetValue()The value of the header.voidreadAttributesFromXml(EwsServiceXmlReader reader)Reads the attribute from XML.voidreadTextValueFromXml(EwsServiceXmlReader reader)Reads the text value from XML.voidsetName(String name)The name of the header.voidsetValue(String value)Sets the value.StringtoString()Obtains a string representation of the header.voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes the attribute to XML.voidwriteElementsToXml(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
-
-
-
-
Constructor Detail
-
InternetMessageHeader
protected InternetMessageHeader()
Initializes a new instance of the EwsXmlReader class.
-
-
Method Detail
-
readAttributesFromXml
public void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
Reads the attribute from XML.- Overrides:
readAttributesFromXmlin classComplexProperty- Parameters:
reader- the reader- Throws:
Exception- the exception
-
readTextValueFromXml
public void readTextValueFromXml(EwsServiceXmlReader reader) throws XMLStreamException, ServiceXmlDeserializationException
Reads the text value from XML.- Overrides:
readTextValueFromXmlin classComplexProperty- Parameters:
reader- the reader- Throws:
XMLStreamException- the XML stream exceptionServiceXmlDeserializationException- the service xml deserialization exception
-
writeAttributesToXml
public void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes the attribute to XML.- Overrides:
writeAttributesToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
ServiceXmlSerializationException- the service xml serialization exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
ServiceXmlSerializationException- the service xml serialization exception
-
-