/**
  * Download all the content from one journal.
  *
  * Requests a SWORD deposit statement from LOCKSSOMatic, and uses the
  * sword:originalDeposit element to fetch the content.
  *
  * @param Journal $journal
  */
 public function downloadJournal(Journal $journal)
 {
     foreach ($journal->getDeposits() as $deposit) {
         $statement = $this->swordClient->statement($deposit);
         $originals = $statement->xpath('//sword:originalDeposit');
         foreach ($originals as $element) {
             $this->fetch($deposit, $element['href']);
         }
     }
 }