microsoft.exchange.webservices.data.core
Interface ICustomXmlUpdateSerializer

All Known Implementing Classes:
AttachmentCollection, AttendeeCollection, ComplexPropertyCollection, DeletedOccurrenceInfoCollection, DictionaryProperty, EmailAddressCollection, EmailAddressDictionary, ExtendedPropertyCollection, FolderIdCollection, FolderPermissionCollection, GroupMemberCollection, ImAddressDictionary, InternetMessageHeaderCollection, ItemIdCollection, OccurrenceInfoCollection, PhoneNumberDictionary, PhysicalAddressDictionary, RuleErrorCollection, RuleOperationErrorCollection

public interface ICustomXmlUpdateSerializer

Interface defined for property that produce their own update serialization.


Method Summary
 boolean writeDeleteUpdateToXml(EwsServiceXmlWriter writer, ServiceObject ewsObject)
          Writes the deletion update to XML.
 boolean writeSetUpdateToXml(EwsServiceXmlWriter writer, ServiceObject ewsObject, PropertyDefinition propertyDefinition)
          Writes the update to XML.
 

Method Detail

writeSetUpdateToXml

boolean writeSetUpdateToXml(EwsServiceXmlWriter writer,
                            ServiceObject ewsObject,
                            PropertyDefinition propertyDefinition)
                            throws Exception
Writes the update to XML.

Parameters:
writer - the writer
ewsObject - The ews object
propertyDefinition - property definition
Returns:
true if property generated serialization
Throws:
Exception - the exception

writeDeleteUpdateToXml

boolean writeDeleteUpdateToXml(EwsServiceXmlWriter writer,
                               ServiceObject ewsObject)
                               throws Exception
Writes the deletion update to XML.

Parameters:
writer - The writer.
ewsObject - The ews object.
Returns:
True if property generated serialization.
Throws:
Exception - the exception


Copyright © 2012–2015 Microsoft. All rights reserved.