/** * Loads from XML. * * @param reader the reader * @param propertyBag the property bag * @throws Exception the exception */ protected final void loadPropertyValueFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception { MeetingTimeZone meetingTimeZone = new MeetingTimeZone(); meetingTimeZone.loadFromXml(reader, this.getXmlElement()); propertyBag.setObjectFromPropertyDefinition( AppointmentSchema.StartTimeZone, meetingTimeZone.toTimeZoneInfo()); }
/** * Writes to XML. * * @param writer the writer * @param propertyBag the property bag * @param isUpdateOperation the is update operation * @throws Exception the exception */ protected void writePropertyValueToXml( EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception { MeetingTimeZone value = (MeetingTimeZone) propertyBag.getObjectFromPropertyDefinition(this); if (value != null) { value.writeToXml(writer, this.getXmlElement()); } }