|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
public abstract class ComplexProperty
Represents a property that can be sent to or retrieved from EWS.
Constructor Summary | |
---|---|
protected |
ComplexProperty()
* Initializes a new instance. |
Method Summary | ||
---|---|---|
protected void |
addOnChangeEvent(microsoft.exchange.webservices.data.IComplexPropertyChangedDelegate change)
Set event to happen when property changed. |
|
protected
|
canSetFieldValue(T field,
T value)
* Sets value of field. |
|
protected void |
changed()
Instance was changed. |
|
protected void |
clearChangeEvents()
* Clears change events list. |
|
protected void |
clearChangeLog()
Clears the change log. |
|
java.lang.Boolean |
func(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
|
|
protected microsoft.exchange.webservices.data.XmlNamespace |
getNamespace()
Gets the namespace. |
|
protected void |
internalValidate()
* Validates this instance. |
|
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
java.lang.String xmlElementName)
* Loads from XML. |
|
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
java.lang.String xmlElementName)
* Loads from XML. |
|
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Reads the attributes from XML. |
|
protected void |
readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Reads the text value from XML. |
|
protected void |
removeChangeEvent(microsoft.exchange.webservices.data.IComplexPropertyChangedDelegate change)
Remove the event from happening when property changed. |
|
protected void |
setNamespace(microsoft.exchange.webservices.data.XmlNamespace xmlNamespace)
Sets the namespace. |
|
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Tries to read element from XML. |
|
protected boolean |
tryReadElementFromXmlToPatch(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML to patch this property. |
|
protected void |
updateFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
java.lang.String xmlElementName)
Loads from XML to update this property. |
|
protected void |
updateFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
java.lang.String xmlElementName)
Loads from XML to update itself. |
|
void |
validate()
* Implements ISelfValidate.validate. |
|
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes the attributes to XML. |
|
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes elements to XML. |
|
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
java.lang.String xmlElementName)
* Writes to XML. |
|
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
microsoft.exchange.webservices.data.XmlNamespace xmlNamespace,
java.lang.String xmlElementName)
* Writes to XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ComplexProperty()
Method Detail |
---|
protected microsoft.exchange.webservices.data.XmlNamespace getNamespace()
protected void setNamespace(microsoft.exchange.webservices.data.XmlNamespace xmlNamespace)
xmlNamespace
- the namespace.protected void changed()
protected <T> boolean canSetFieldValue(T field, T value)
T
- Field type.field
- The field.value
- The value.
protected void clearChangeLog()
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
reader
- The reader.
java.lang.Exception
- the exceptionprotected void readTextValueFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
reader
- The reader.
java.lang.Exception
- the exceptionprotected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
reader
- The reader.
java.lang.Exception
- the exceptionprotected boolean tryReadElementFromXmlToPatch(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
reader
- The reader.
True if element was read.
java.lang.Exception
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writer
- The writer.
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writer
- The writer.
java.lang.Exception
- the exceptionprotected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, microsoft.exchange.webservices.data.XmlNamespace xmlNamespace, java.lang.String xmlElementName) throws java.lang.Exception
reader
- The reader.xmlNamespace
- the xml namespacexmlElementName
- Name of the XML element.
java.lang.Exception
- the exceptionprotected void updateFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, java.lang.String xmlElementName) throws java.lang.Exception
reader
- The reader.xmlElementName
- Name of the XML element.
java.lang.Exception
protected void updateFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, microsoft.exchange.webservices.data.XmlNamespace xmlNamespace, java.lang.String xmlElementName) throws java.lang.Exception
reader
- The reader.xmlNamespace
- The XML namespace.xmlElementName
- Name of the XML element.complexFunctionDelegate
-
java.lang.Exception
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader, java.lang.String xmlElementName) throws java.lang.Exception
reader
- The reader.xmlElementName
- Name of the XML element.
java.lang.Exception
- the exceptionprotected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, microsoft.exchange.webservices.data.XmlNamespace xmlNamespace, java.lang.String xmlElementName) throws java.lang.Exception
writer
- The writer.xmlNamespace
- The XML namespace.xmlElementName
- Name of the XML element.
java.lang.Exception
- the exceptionprotected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, java.lang.String xmlElementName) throws java.lang.Exception
writer
- The writer.xmlElementName
- Name of the XML element.
java.lang.Exception
- the exceptionprotected void addOnChangeEvent(microsoft.exchange.webservices.data.IComplexPropertyChangedDelegate change)
change
- change eventprotected void removeChangeEvent(microsoft.exchange.webservices.data.IComplexPropertyChangedDelegate change)
change
- change eventprotected void clearChangeEvents()
public void validate() throws ServiceValidationException, java.lang.Exception
ServiceValidationException
- the service validation exception
java.lang.Exception
- the exceptionprotected void internalValidate() throws ServiceValidationException, java.lang.Exception
ServiceValidationException
- the service validation exception
java.lang.Exception
public java.lang.Boolean func(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |