|
||||||||
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(java.lang.Object key,
java.lang.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(java.lang.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. |
java.lang.Object |
getElements(java.lang.Object key)
Gets the element with the specified key. |
java.util.Iterator |
getEnumerator()
Gets the enumerator. |
protected boolean |
getIsDirty()
Gets the isDirty flag. |
java.util.Iterator<java.lang.Object> |
iterator()
|
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
java.lang.String xmlElementName)
* Loads from XML. |
boolean |
remove(java.lang.Object key)
Removes the element with the specified key from the user configuration dictionary. |
void |
setElements(java.lang.Object key,
java.lang.Object value)
Sets the element with the specified key. |
protected void |
setIsDirty(boolean value)
Sets the isDirty flag. |
boolean |
tryGetValue(java.lang.Object key,
OutParam<java.lang.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, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, 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 java.lang.Object getElements(java.lang.Object key)
key
- The key of the element to get or set.
public void setElements(java.lang.Object key, java.lang.Object value) throws java.lang.Exception
key
- The key of the element to get or setvalue
- the value
java.lang.Exception
- the exceptionpublic void addElement(java.lang.Object key, java.lang.Object value) throws java.lang.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.
java.lang.Exception
- the exceptionpublic boolean containsKey(java.lang.Object key)
key
- The key to locate in the user configuration dictionary.
public boolean remove(java.lang.Object key)
key
- The key of the element to remove.
public boolean tryGetValue(java.lang.Object key, OutParam<java.lang.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 java.util.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 javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class ComplexProperty
writer
- accepts EwsServiceXmlWriter
javax.xml.stream.XMLStreamException
- the xML stream exception
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, microsoft.exchange.webservices.data.XmlNamespace xmlNamespace, java.lang.String xmlElementName) throws java.lang.Exception
ComplexProperty
loadFromXml
in class ComplexProperty
reader
- The reader.xmlNamespace
- the xml namespacexmlElementName
- Name of the XML element.
java.lang.Exception
- the exceptionprotected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
ComplexProperty
tryReadElementFromXml
in class ComplexProperty
reader
- The reader.
java.lang.Exception
- the exceptionpublic java.util.Iterator<java.lang.Object> iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |