|
|||||||||
| 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.UserConfigurationDictionary
public final class UserConfigurationDictionary
Represents a user configuration's Dictionary property.
| Constructor Summary | |
|---|---|
protected |
UserConfigurationDictionary()
Initializes a new instance of "UserConfigurationDictionary" class. |
| Method Summary | |
|---|---|
void |
addElement(Object key,
Object value)
Adds an element with the provided key and value to the user configuration dictionary. |
protected void |
changed()
Instance was changed. |
void |
clear()
Removes all items from the user configuration dictionary. |
boolean |
containsKey(Object key)
Determines whether the user configuration dictionary contains an element with the specified key. |
int |
getCount()
Gets the number of elements in the user configuration dictionary. |
Object |
getElements(Object key)
Gets the element with the specified key. |
Iterator |
getEnumerator()
Gets the enumerator. |
protected boolean |
getIsDirty()
Gets the isDirty flag. |
Iterator<Object> |
iterator()
|
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
String xmlElementName)
* Loads from XML. |
boolean |
remove(Object key)
Removes the element with the specified key from the user configuration dictionary. |
void |
setElements(Object key,
Object value)
Sets the element with the specified key. |
protected void |
setIsDirty(boolean value)
Sets the isDirty flag. |
boolean |
tryGetValue(Object key,
OutParam<Object> value)
Gets the value associated with the specified key. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Tries to read element from XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, clearChangeEvents, clearChangeLog, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, validate, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected UserConfigurationDictionary()
| Method Detail |
|---|
public Object getElements(Object key)
key - The key of the element to get or set.
public void setElements(Object key,
Object value)
throws Exception
key - The key of the element to get or setvalue - the value
Exception - the exception
public void addElement(Object key,
Object value)
throws Exception
key - The object to use as the key of the element to add.value - The object to use as the value of the element to add.
Exception - the exceptionpublic boolean containsKey(Object key)
key - The key to locate in the user configuration dictionary.
public boolean remove(Object key)
key - The key of the element to remove.
public boolean tryGetValue(Object key,
OutParam<Object> value)
key - The key whose value to get.value - When this method returns, the value associated with the
specified key, if the key is found; otherwise, null.
public int getCount()
public void clear()
public Iterator getEnumerator()
protected boolean getIsDirty()
protected void setIsDirty(boolean value)
value - the new checks if is dirtyprotected void changed()
changed in class ComplexProperty
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class ComplexPropertywriter - accepts EwsServiceXmlWriter
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exception
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
String xmlElementName)
throws Exception
ComplexProperty
loadFromXml in class ComplexPropertyreader - The reader.xmlNamespace - the xml namespacexmlElementName - Name of the XML element.
Exception - the exception
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
ComplexProperty
tryReadElementFromXml in class ComplexPropertyreader - The reader.
Exception - the exceptionpublic Iterator<Object> iterator()
iterator in interface Iterable<Object>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||