versions = apimDefault.modifyDatastreamControlGroup(context, curpid, curdsID, controlGroup, addXMLHeader, reformat, setMIMETypeCharset);
} catch (DatastreamNotFoundException e) {
versions = null;
}
ser.writeVersions(versions);
ser.endDatastream();
}
ser.endObject();
}
ser.finish();