|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.AutodiscoverResponse
microsoft.exchange.webservices.data.AutodiscoverResponseCollection<TResponse>
TResponse - The type of the responses in the collection.public abstract class AutodiscoverResponseCollection<TResponse extends AutodiscoverResponse>
Represents a collection of responses to a call to the Autodiscover service.
| Constructor Summary | |
|---|---|
protected |
AutodiscoverResponseCollection()
* Initializes a new instance of the AutodiscoverResponseCollection class. |
| Method Summary | |
|---|---|
protected abstract TResponse |
createResponseInstance()
Create a response instance. |
int |
getCount()
* Gets the number of responses in the collection. |
protected abstract String |
getResponseCollectionXmlElementName()
Gets the name of the response collection XML element. |
protected abstract String |
getResponseInstanceXmlElementName()
Gets the name of the response instance XML element. |
protected List<TResponse> |
getResponses()
Gets the responses. |
TResponse |
getTResponseAtIndex(int index)
* Gets the response at the specified index. |
Iterator<TResponse> |
iterator()
Gets an Iterator that iterates through the elements of the collection. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader,
String endElementName)
* Loads response from XML. |
| 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 |
|---|
protected AutodiscoverResponseCollection()
| Method Detail |
|---|
public int getCount()
public TResponse getTResponseAtIndex(int index)
index - the index
protected List<TResponse> getResponses()
protected void loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader,
String endElementName)
throws Exception
loadFromXml in class AutodiscoverResponsereader - the readerendElementName - End element name.
Exception - the exceptionprotected abstract String getResponseCollectionXmlElementName()
protected abstract String getResponseInstanceXmlElementName()
protected abstract TResponse createResponseInstance()
public Iterator<TResponse> iterator()
iterator in interface Iterable<TResponse extends AutodiscoverResponse>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||