microsoft.exchange.webservices.data.autodiscover.response
Class GetDomainSettingsResponse

java.lang.Object
  extended by microsoft.exchange.webservices.data.autodiscover.response.AutodiscoverResponse
      extended by microsoft.exchange.webservices.data.autodiscover.response.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 GetDomainSettingsResponse 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(EwsXmlReader reader)
          Loads from XML.
 void loadFromXml(EwsXmlReader reader, String endElementName)
          Loads response from XML.
 void setDomain(String value)
          Sets the domain.
 
Methods inherited from class microsoft.exchange.webservices.data.autodiscover.response.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 GetDomainSettingsResponse class.

Method Detail

getDomain

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

Returns:
the domain

setDomain

public 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

public void loadFromXml(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(EwsXmlReader reader)
                                  throws Exception
Loads from XML.

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


Copyright © 2012–2015 Microsoft. All rights reserved.