|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.UserConfigurationDictionary
public final class UserConfigurationDictionary
Represents a user configuration's Dictionary property.
| Constructor Summary | |
|---|---|
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. |
void |
changed()
Instance was changed. |
void |
clear()
Removes all item 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<Object> |
getEnumerator()
Returns an enumerator that iterates through the user configuration dictionary. |
boolean |
getIsDirty()
Gets the isDirty flag. |
Iterator<Object> |
iterator()
|
void |
loadFromXml(EwsServiceXmlReader reader,
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. |
void |
setIsDirty(boolean value)
Sets the isDirty flag. |
boolean |
tryGetValue(Object key,
OutParam<Object> value)
Gets the value associated with the specified key. |
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML. |
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.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 |
|---|
public 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<Object> getEnumerator()
public boolean getIsDirty()
public void setIsDirty(boolean value)
value - the new checks if is dirtypublic void changed()
changed in class ComplexProperty
public void writeElementsToXml(EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class ComplexPropertywriter - accepts EwsServiceXmlWriter
XMLStreamException - the XML stream exception
ServiceXmlSerializationException - the service xml serialization exception
public void loadFromXml(EwsServiceXmlReader reader,
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
public boolean tryReadElementFromXml(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 | |||||||||