public abstract class PropertyDefinitionBase extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyDefinitionBase()
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getPrintableName()
Gets the property definition's printable name.
|
abstract Class<?> |
getType()
Gets the type of the property.
|
abstract ExchangeVersion |
getVersion()
Gets the minimum Exchange version that supports this property.
|
protected abstract String |
getXmlElementName()
Gets the name of the XML element.
|
String |
toString() |
static boolean |
tryLoadFromXml(EwsServiceXmlReader reader,
OutParam<PropertyDefinitionBase> propertyDefinition)
Tries to load from XML.
|
protected abstract void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML.
|
protected PropertyDefinitionBase()
public static boolean tryLoadFromXml(EwsServiceXmlReader reader, OutParam<PropertyDefinitionBase> propertyDefinition) throws Exception
reader - The reader.propertyDefinition - The property definition.Exception - the exceptionprotected abstract String getXmlElementName()
protected abstract void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writer - The writer.ServiceXmlSerializationException - the service xml serialization exceptionpublic abstract ExchangeVersion getVersion()
public abstract String getPrintableName()
public void writeToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writer - The writer.XMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionCopyright © 2012–2015 Microsoft. All rights reserved.