|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.ComplexPropertyCollection<ExtendedProperty>
microsoft.exchange.webservices.data.ExtendedPropertyCollection
public final class ExtendedPropertyCollection
Represents a collection of extended properties.
| Constructor Summary | |
|---|---|
ExtendedPropertyCollection()
|
|
| Method Summary | ||
|---|---|---|
protected ExtendedProperty |
createComplexProperty(String xmlElementName)
Creates the complex property. |
|
protected String |
getCollectionItemXmlElementName(ExtendedProperty complexProperty)
Gets the name of the collection item XML element. |
|
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
String localElementName)
* Loads from XML. |
|
protected boolean |
removeExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
* Removes a specific extended property definition from the collection. |
|
protected void |
setExtendedProperty(ExtendedPropertyDefinition propertyDefinition,
Object value)
* Sets an extended property. |
|
protected
|
tryGetValue(Class<T> cls,
ExtendedPropertyDefinition propertyDefinition,
OutParam<T> propertyValueOut)
Tries to get property value. |
|
boolean |
writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject)
* Writes the deletion update to XML. |
|
boolean |
writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
* Writes the update to XML. |
|
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
* Writes to XML. |
|
| Methods inherited from class microsoft.exchange.webservices.data.ComplexPropertyCollection |
|---|
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, removeFromChangeLog, shouldWriteToXml, writeElementsToXml, writeToXml |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, validate, writeAttributesToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedPropertyCollection()
| Method Detail |
|---|
protected ExtendedProperty createComplexProperty(String xmlElementName)
createComplexProperty in class ComplexPropertyCollection<ExtendedProperty>xmlElementName - Name of the XML element.
protected String getCollectionItemXmlElementName(ExtendedProperty complexProperty)
getCollectionItemXmlElementName in class ComplexPropertyCollection<ExtendedProperty>complexProperty - The complex property.
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
String localElementName)
throws Exception
loadFromXml in class ComplexPropertyCollection<ExtendedProperty>reader - The reader.localElementName - Name of the local element.
Exception - the exception
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
throws Exception
writeToXml in class ComplexPropertywriter - The writer.xmlElementName - Name of the XML element.
Exception - the exception
protected void setExtendedProperty(ExtendedPropertyDefinition propertyDefinition,
Object value)
throws Exception
propertyDefinition - The property definition.value - The value.
Exception - the exception
protected boolean removeExtendedProperty(ExtendedPropertyDefinition propertyDefinition)
throws Exception
propertyDefinition - The definition of the extended property to remove.
Exception - the exception
protected <T> boolean tryGetValue(Class<T> cls,
ExtendedPropertyDefinition propertyDefinition,
OutParam<T> propertyValueOut)
throws ArgumentException
propertyDefinition - The property definition.propertyValueOut - The property value.
ArgumentException
public boolean writeSetUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject,
PropertyDefinition propertyDefinition)
throws Exception
writeSetUpdateToXml in class ComplexPropertyCollection<ExtendedProperty>writer - The writer.ewsObject - The ews object.propertyDefinition - Property definition.
Exception - the exception
public boolean writeDeleteUpdateToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
ServiceObject ewsObject)
throws XMLStreamException,
ServiceXmlSerializationException
writeDeleteUpdateToXml in class ComplexPropertyCollection<ExtendedProperty>writer - The writer.ewsObject - The ews object.
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||