TComplexProperty
- The type of the complex property.public class ContainedPropertyDefinition<TComplexProperty extends ComplexProperty> extends ComplexPropertyDefinition<TComplexProperty>
Constructor and Description |
---|
ContainedPropertyDefinition(Class<TComplexProperty> cls,
String xmlElementName,
String uri,
String containedXmlElementName,
EnumSet<PropertyDefinitionFlags> flags,
ExchangeVersion version,
ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
Initializes a new instance of.
|
Modifier and Type | Method and Description |
---|---|
protected void |
internalLoadFromXml(EwsServiceXmlReader reader,
PropertyBag propertyBag)
Load from XML.
|
void |
writePropertyValueToXml(EwsServiceXmlWriter writer,
PropertyBag propertyBag,
boolean isUpdateOperation)
Writes to XML.
|
createPropertyInstance, getType
loadPropertyValueFromXml
getAssociatedInternalProperties, getName, getPrintableName, getVersion, getXmlElement, hasFlag, hasFlag, isNullable, registerAssociatedInternalProperties, setName
getUri, getXmlElementName, writeAttributesToXml
toString, tryLoadFromXml, writeToXml
public ContainedPropertyDefinition(Class<TComplexProperty> cls, String xmlElementName, String uri, String containedXmlElementName, EnumSet<PropertyDefinitionFlags> flags, ExchangeVersion version, ICreateComplexPropertyDelegate<TComplexProperty> propertyCreationDelegate)
xmlElementName
- Name of the XML element.uri
- The URI.containedXmlElementName
- Name of the contained XML element.flags
- The flags.version
- The version.propertyCreationDelegate
- Delegate used to create instances of ComplexProperty.protected void internalLoadFromXml(EwsServiceXmlReader reader, PropertyBag propertyBag) throws Exception
internalLoadFromXml
in class ComplexPropertyDefinitionBase
reader
- the readerpropertyBag
- the property bagException
- the exceptionpublic void writePropertyValueToXml(EwsServiceXmlWriter writer, PropertyBag propertyBag, boolean isUpdateOperation) throws Exception
writePropertyValueToXml
in class ComplexPropertyDefinitionBase
writer
- the writerpropertyBag
- the property bagisUpdateOperation
- the is update operationException
- the exceptionCopyright © 2012–2015 Microsoft. All rights reserved.