microsoft.exchange.webservices.data.property.definition
Class TimeZonePropertyDefinition
java.lang.Object
microsoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
microsoft.exchange.webservices.data.property.definition.ServiceObjectPropertyDefinition
microsoft.exchange.webservices.data.property.definition.PropertyDefinition
microsoft.exchange.webservices.data.property.definition.TimeZonePropertyDefinition
- Direct Known Subclasses:
- StartTimeZonePropertyDefinition
public class TimeZonePropertyDefinition
- extends PropertyDefinition
Represents a property definition for property of type TimeZoneInfo.
TimeZonePropertyDefinition
public TimeZonePropertyDefinition(String xmlElementName,
String uri,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version)
- Initializes a new instance of the TimeZonePropertyDefinition class.
- Parameters:
xmlElementName - the xml element nameuri - the uriflags - the flagsversion - the version
loadPropertyValueFromXml
public void loadPropertyValueFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
throws Exception
- Loads from XML.
- Specified by:
loadPropertyValueFromXml in class PropertyDefinition
- Parameters:
reader - the readerpropertyBag - the property bag
- Throws:
Exception - the exception
writePropertyValueToXml
public void writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
throws Exception
- Writes to XML.
- Specified by:
writePropertyValueToXml in class PropertyDefinition
- Parameters:
writer - the writerpropertyBag - the property bagisUpdateOperation - the is update operation
- Throws:
Exception - the exception
getType
public Class<TimeZone> getType()
- Gets the property type.
- Specified by:
getType in class PropertyDefinitionBase
Copyright © 2012–2015 Microsoft. All rights reserved.