|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.core.EwsXmlReader
microsoft.exchange.webservices.data.core.EwsServiceXmlReader
public class EwsServiceXmlReader
XML reader.
| Constructor Summary | |
|---|---|
EwsServiceXmlReader(InputStream stream,
ExchangeService service)
Initializes a new instance of the EwsXmlReader class. |
|
| Method Summary | ||
|---|---|---|
ExchangeService |
getService()
Gets the service. |
|
Date |
readElementValueAsDateTime()
Reads the element value as date time. |
|
Date |
readElementValueAsDateTime(XmlNamespace xmlNamespace,
String localName)
Reads the element value as date time. |
|
Date |
readElementValueAsUnbiasedDateTimeScopedToServiceTimeZone()
Reads the element value as date time, assuming it is unbiased (e.g. |
|
Date |
readElementValueAsUnspecifiedDate()
Reads the element value as unspecified date. |
|
|
readServiceObjectsCollectionFromXml(String collectionXmlElementName,
IGetObjectInstanceDelegate<ServiceObject> getObjectInstanceDelegate,
boolean clearPropertyBag,
PropertySet requestedPropertySet,
boolean summaryPropertiesOnly)
Reads the service objects collection from XML. |
|
void |
setService(ExchangeService service)
Sets the service. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EwsServiceXmlReader(InputStream stream,
ExchangeService service)
throws Exception
stream - the streamservice - the service
Exception - on error| Method Detail |
|---|
public Date readElementValueAsDateTime()
throws Exception
Exception - the exception
public Date readElementValueAsUnspecifiedDate()
throws Exception
Exception - on error
public Date readElementValueAsUnbiasedDateTimeScopedToServiceTimeZone()
throws Exception
Exception - the exception
public Date readElementValueAsDateTime(XmlNamespace xmlNamespace,
String localName)
throws Exception
xmlNamespace - the xml namespacelocalName - the local name
Exception - the exception
public <TServiceObject extends ServiceObject> List<TServiceObject> readServiceObjectsCollectionFromXml(String collectionXmlElementName,
IGetObjectInstanceDelegate<ServiceObject> getObjectInstanceDelegate,
boolean clearPropertyBag,
PropertySet requestedPropertySet,
boolean summaryPropertiesOnly)
throws Exception
TServiceObject - the generic typecollectionXmlElementName - the collection xml element namegetObjectInstanceDelegate - the get object instance delegateclearPropertyBag - the clear property bagrequestedPropertySet - the requested property setsummaryPropertiesOnly - the summary property only
Exception - the exceptionpublic ExchangeService getService()
public void setService(ExchangeService service)
service - the new service
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||