|
||||||||
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 java.lang.String |
getResponseCollectionXmlElementName()
Gets the name of the response collection XML element. |
protected abstract java.lang.String |
getResponseInstanceXmlElementName()
Gets the name of the response instance XML element. |
protected java.util.List<TResponse> |
getResponses()
Gets the responses. |
TResponse |
getTResponseAtIndex(int index)
* Gets the response at the specified index. |
java.util.Iterator<TResponse> |
iterator()
Gets an Iterator that iterates through the elements of the collection. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader,
java.lang.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 java.util.List<TResponse> getResponses()
protected void loadFromXml(microsoft.exchange.webservices.data.EwsXmlReader reader, java.lang.String endElementName) throws java.lang.Exception
loadFromXml
in class AutodiscoverResponse
reader
- the readerendElementName
- End element name.
java.lang.Exception
- the exceptionprotected abstract java.lang.String getResponseCollectionXmlElementName()
protected abstract java.lang.String getResponseInstanceXmlElementName()
protected abstract TResponse createResponseInstance()
public java.util.Iterator<TResponse> iterator()
iterator
in interface java.lang.Iterable<TResponse extends AutodiscoverResponse>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |