microsoft.exchange.webservices.data.core.response
Class CreateResponseObjectResponse

java.lang.Object
  extended by microsoft.exchange.webservices.data.core.response.ServiceResponse
      extended by microsoft.exchange.webservices.data.core.response.CreateResponseObjectResponse
All Implemented Interfaces:
IGetObjectInstanceDelegate<ServiceObject>

public final class CreateResponseObjectResponse
extends ServiceResponse

Represents response to generic Create request.


Constructor Summary
CreateResponseObjectResponse()
          Initializes a new instance of the CreateResponseObjectResponse class.
 
Method Summary
 List<Item> getItems()
          Gets the item.
protected  Item getObjectInstance(ExchangeService service, String xmlElementName)
          Gets Item instance.
 ServiceObject getObjectInstanceDelegate(ExchangeService service, String xmlElementName)
          Gets the object instance delegate.
protected  void readElementsFromXml(EwsServiceXmlReader reader)
          Reads response elements from XML.
 
Methods inherited from class microsoft.exchange.webservices.data.core.response.ServiceResponse
getBatchProcessingStopped, getErrorCode, getErrorDetails, getErrorMessage, getErrorProperties, getResult, internalThrowIfNecessary, loaded, loadExtraErrorDetailsFromXml, loadFromXml, mapErrorCodeToErrorMessage, parseMessageXml, setErrorMessage, throwIfNecessary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateResponseObjectResponse

public CreateResponseObjectResponse()
Initializes a new instance of the CreateResponseObjectResponse class.

Method Detail

getObjectInstance

protected Item getObjectInstance(ExchangeService service,
                                 String xmlElementName)
                          throws Exception
Gets Item instance.

Parameters:
service - The service.
xmlElementName - Name of the XML element.
Returns:
Item.
Throws:
Exception - the exception

getObjectInstanceDelegate

public ServiceObject getObjectInstanceDelegate(ExchangeService service,
                                               String xmlElementName)
                                        throws Exception
Gets the object instance delegate.

Specified by:
getObjectInstanceDelegate in interface IGetObjectInstanceDelegate<ServiceObject>
Parameters:
service - accepts ExchangeService
xmlElementName - accepts String
Returns:
object
Throws:
Exception - throws Exception

readElementsFromXml

protected void readElementsFromXml(EwsServiceXmlReader reader)
                            throws Exception
Reads response elements from XML.

Overrides:
readElementsFromXml in class ServiceResponse
Parameters:
reader - the reader
Throws:
Exception - the exception

getItems

public List<Item> getItems()
Gets the item.

Returns:
List of item.


Copyright © 2012–2015 Microsoft. All rights reserved.