|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.definition.PropertyDefinitionBase
public abstract class PropertyDefinitionBase
Represents the base class for all property definitions.
| Constructor Summary | |
|---|---|
protected |
PropertyDefinitionBase()
Initializes a new instance. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected PropertyDefinitionBase()
| Method Detail |
|---|
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 abstract Class<?> getType()
public void writeToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writer - The writer.
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||