|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.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 response)
Adds a request to the Batch Response DSML. |
int |
getRequestID()
Gets the ID of the response |
boolean |
removeResponse(DsmlDecorator response)
Removes a request from the Batch Response DSML. |
void |
setRequestID(int requestID)
Sets the ID of the response |
java.lang.String |
toDsml()
Converts the 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 boolean addResponse(DsmlDecorator response)
response
- the request to add
public boolean removeResponse(DsmlDecorator response)
response
- the request to remove
public int getRequestID()
public void setRequestID(int requestID)
requestID
- the ID to setpublic java.lang.String toDsml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |