microsoft.exchange.webservices.data.ComplexPropertyDefinitionBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exchange-ws-api Show documentation
Show all versions of exchange-ws-api Show documentation
The source came from http://archive.msdn.microsoft.com/ewsjavaapi
Support for Maven has been added.
The newest version!
/**************************************************************************
* copyright file="ComplexPropertyDefinitionBase.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the ComplexPropertyDefinitionBase.java.
**************************************************************************/
package microsoft.exchange.webservices.data;
import java.util.EnumSet;
/**
* Represents abstract complex property definition.
*
*/
abstract class ComplexPropertyDefinitionBase extends PropertyDefinition {
/**
* * Initializes a new instance.
*
* @param xmlElementName
* Name of the XML element.
* @param flags
* The flags.
* @param version
* The version.
*/
protected ComplexPropertyDefinitionBase(String xmlElementName,
EnumSet flags, ExchangeVersion version) {
super(xmlElementName, flags, version);
}
/**
* * Initializes a new instance.
*
* @param xmlElementName
* Name of the XML element.
* @param uri
* The URI.
* @param version
* The version.
*/
protected ComplexPropertyDefinitionBase(String xmlElementName, String uri,
ExchangeVersion version) {
super(xmlElementName, uri, version);
}
/**
* * Initializes a new instance.
*
* @param xmlElementName
* Name of the XML element.
* @param uri
* The URI.
* @param flags
* The flags.
* @param version
* The version.
*/
protected ComplexPropertyDefinitionBase(String xmlElementName, String uri,
EnumSet flags, ExchangeVersion version) {
super(xmlElementName, uri, flags, version);
}
/***
* Creates the property instance.
*
* @param owner
* The owner.
* @return ComplexProperty.
*/
protected abstract ComplexProperty createPropertyInstance(
ServiceObject owner);
/**
* * Internals the load from XML.
*
* @param reader
* The reader.
* @param propertyBag
* The property bag.
* @throws Exception
* the exception
*/
protected void internalLoadFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag) throws Exception {
OutParam