public class BatchRequestDsml extends Object
Constructor and Description |
---|
BatchRequestDsml()
Creates a new instance of BatchResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addRequest(DsmlDecorator request)
Adds a request to the Batch Request DSML.
|
BatchRequest.OnError |
getOnError()
Gets the on error handling type of the request
|
BatchRequest.Processing |
getProcessing()
Gets the processing type of the request
|
int |
getRequestID()
Gets the ID of the request
|
BatchRequest.ResponseOrder |
getResponseOrder()
Gets the reponse order type of the request
|
boolean |
removeRequest(DsmlDecorator request)
Removes a request from the Batch Request DSML.
|
void |
setOnError(BatchRequest.OnError onError)
Sets the on error handling type of the request
|
void |
setProcessing(BatchRequest.Processing processing)
Sets the processing type of the request
|
void |
setRequestID(int requestID)
Sets the ID of the request
|
void |
setResponseOrder(BatchRequest.ResponseOrder responseOrder)
Sets the reponse order type of the request
|
String |
toDsml()
Converts the Batch Request to its XML representation in the DSMLv2 format.
|
public BatchRequestDsml()
public boolean addRequest(DsmlDecorator request)
request
- the request to addpublic boolean removeRequest(DsmlDecorator request)
request
- the request to removepublic int getRequestID()
public void setRequestID(int requestID)
requestID
- the ID to setpublic BatchRequest.Processing getProcessing()
public void setProcessing(BatchRequest.Processing processing)
processing
- the processing type to setpublic BatchRequest.OnError getOnError()
public void setOnError(BatchRequest.OnError onError)
onError
- the on error handling type to setpublic BatchRequest.ResponseOrder getResponseOrder()
public void setResponseOrder(BatchRequest.ResponseOrder responseOrder)
responseOrder
- the reponse order type to setpublic String toDsml()
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.