|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.dsmlv2.reponse.BatchResponseDsml
public class BatchResponseDsml
This class represents the Batch Response. It can be used to generate an the XML String of a BatchResponse.
| Constructor Summary | |
|---|---|
BatchResponseDsml()
Creates a new instance of BatchResponseDsml. |
|
| Method Summary | |
|---|---|
boolean |
addResponse(DsmlDecorator<? extends Response> response)
Adds a request to the Batch Response DSML. |
DsmlDecorator<? extends Response> |
getCurrentResponse()
Gets the current response |
int |
getRequestID()
Gets the ID of the response |
List<DsmlDecorator<? extends Response>> |
getResponses()
Gets the List of all the responses |
boolean |
removeResponse(DsmlDecorator<Response> response)
Removes a request from the Batch Response DSML. |
void |
setRequestID(int requestID)
Sets the ID of the response |
String |
toDsml()
Converts this Batch Response to its XML representation in the DSMLv2 format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchResponseDsml()
| Method Detail |
|---|
public DsmlDecorator<? extends Response> getCurrentResponse()
public boolean addResponse(DsmlDecorator<? extends Response> response)
response - the request to add
public boolean removeResponse(DsmlDecorator<Response> response)
response - the request to remove
public int getRequestID()
public void setRequestID(int requestID)
requestID - the ID to setpublic List<DsmlDecorator<? extends Response>> getResponses()
public String toDsml()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||