public class BatchResponseDsml extends Object
Constructor and Description |
---|
BatchResponseDsml()
Creates a new instance of BatchResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
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
|
String |
toDsml()
Converts the Batch Response to its XML representation in the DSMLv2 format.
|
public BatchResponseDsml()
public boolean addResponse(DsmlDecorator response)
response
- the request to addpublic boolean removeResponse(DsmlDecorator response)
response
- the request to removepublic int getRequestID()
public void setRequestID(int requestID)
requestID
- the ID to setpublic String toDsml()
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.