|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.autodiscover.response.AutodiscoverResponse
microsoft.exchange.webservices.data.autodiscover.AutodiscoverResponseCollection<TResponse>
TResponse - The type of the response in the collection.public abstract class AutodiscoverResponseCollection<TResponse extends AutodiscoverResponse>
Represents a collection of response to a call to the Autodiscover service.
| Constructor Summary | |
|---|---|
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 response 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. |
List<TResponse> |
getResponses()
Gets the response. |
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. |
void |
loadFromXml(EwsXmlReader reader,
String endElementName)
Loads response from XML. |
| 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 |
|---|
public AutodiscoverResponseCollection()
| Method Detail |
|---|
public int getCount()
public TResponse getTResponseAtIndex(int index)
index - the index
public List<TResponse> getResponses()
public void loadFromXml(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 | |||||||||