* @throws XmlPullParserException
* if the batch request has not been parsed yet
*/
public static boolean isRequestIdNeeded( Dsmlv2Container container ) throws XmlPullParserException
{
BatchRequest batchRequest = container.getBatchRequest();
if ( batchRequest == null )
{
throw new XmlPullParserException( "unable to find the batch request", container.getParser(), null );
}
return ( ( batchRequest.getProcessing() == Processing.PARALLEL ) && ( batchRequest.getResponseOrder() == ResponseOrder.UNORDERED ) );
}