microsoft.exchange.webservices.data
Class GetDomainSettingsResponse

java.lang.Object
  extended by microsoft.exchange.webservices.data.AutodiscoverResponse
      extended by microsoft.exchange.webservices.data.GetDomainSettingsResponse

public final class GetDomainSettingsResponse
extends AutodiscoverResponse

Represents the response to a GetDomainSettings call for an individual domain.


Constructor Summary
GetDomainSettingsResponse()
          Initializes a new instance of the class.
 
Method Summary
 String getDomain()
          Gets the domain this response applies to.
 Collection<DomainSettingError> getDomainSettingErrors()
          Gets error information for settings that could not be returned.
 String getRedirectTarget()
          Gets the redirectionTarget (URL or email address).
 Map<DomainSettingName,Object> getSettings()
          Gets the requested settings for the domain.
protected  void loadDomainSettingsFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader)
          Loads from XML.
protected  void loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader, String endElementName)
          Loads response from XML.
protected  void setDomain(String value)
          Sets the domain.
 
Methods inherited from class microsoft.exchange.webservices.data.AutodiscoverResponse
getErrorCode, getErrorMessage, getRedirectionUrl, setErrorCode, setErrorMessage, setRedirectionUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDomainSettingsResponse

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

Method Detail

getDomain

public String getDomain()
Gets the domain this response applies to.

Returns:
the domain

setDomain

protected void setDomain(String value)
Sets the domain.

Parameters:
value - the new domain

getRedirectTarget

public String getRedirectTarget()
Gets the redirectionTarget (URL or email address).

Returns:
the redirect target

getSettings

public Map<DomainSettingName,Object> getSettings()
Gets the requested settings for the domain.

Returns:
the settings

getDomainSettingErrors

public Collection<DomainSettingError> getDomainSettingErrors()
Gets error information for settings that could not be returned.

Returns:
the domain setting errors

loadFromXml

protected void loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader,
                           String endElementName)
                    throws Exception
Loads response from XML.

Overrides:
loadFromXml in class AutodiscoverResponse
Parameters:
reader - The reader.
endElementName - End element name.
Throws:
Exception - the exception

loadDomainSettingsFromXml

protected void loadDomainSettingsFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader)
                                  throws Exception
Loads from XML.

Parameters:
reader - The reader.
Throws:
Exception - the exception


Copyright © 2012. All Rights Reserved.