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
 java.lang.String getDomain()
          Gets the domain this response applies to.
 java.util.Collection<DomainSettingError> getDomainSettingErrors()
          Gets error information for settings that could not be returned.
 java.lang.String getRedirectTarget()
          Gets the redirectionTarget (URL or email address).
 java.util.Map<DomainSettingName,java.lang.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, java.lang.String endElementName)
          Loads response from XML.
protected  void setDomain(java.lang.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 java.lang.String getDomain()
Gets the domain this response applies to.

Returns:
the domain

setDomain

protected void setDomain(java.lang.String value)
Sets the domain.

Parameters:
value - the new domain

getRedirectTarget

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

Returns:
the redirect target

getSettings

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

Returns:
the settings

getDomainSettingErrors

public java.util.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,
                           java.lang.String endElementName)
                    throws java.lang.Exception
Loads response from XML.

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

loadDomainSettingsFromXml

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

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