Package org.purl.sword.atom

Examples of org.purl.sword.atom.Contributor


    if (deposit != null)
    {
      String obo = deposit.getOnBehalfOf();
      if (obo != null)
      {
        Contributor cont = new Contributor();
        cont.setName(obo);
        entry.addContributor(cont);
      }
    }
  }
View Full Code Here


    e.setRel("edit");
    e.setHref("http://www.myrepository.ac.uk/sdl/workflow/my deposit.atom");
    se.addLink(e);
   
    if (deposit.getOnBehalfOf() != null) {
      Contributor c = new Contributor();
      c.setName(deposit.getOnBehalfOf());
      c.setEmail(deposit.getOnBehalfOf() + "@myrepository.ac.uk");
      se.addContributor(c);
    }
   
    Generator generator = new Generator();
    generator.setContent("Stuart's Dummy SWORD Server");
View Full Code Here

    e.setRel("edit");
    e.setHref("http://www.myrepository.ac.uk/sdl/workflow/my deposit.atom");
    se.addLink(e);
   
    if (deposit.getOnBehalfOf() != null) {
      Contributor c = new Contributor();
      c.setName(deposit.getOnBehalfOf());
      c.setEmail(deposit.getOnBehalfOf() + "@myrepository.ac.uk");
      se.addContributor(c);
    }
   
    Generator generator = new Generator();
    generator.setContent("Stuart's Dummy SWORD Server");
View Full Code Here

   {
      // process author
      StringBuffer authorBuffer = new StringBuffer();
      for( ; contributors.hasNext(); )
      {
         Contributor c = contributors.next();
         authorBuffer.append(getAuthorDetails(c));
      }

      if( authorBuffer.length() == 0 )
      {
View Full Code Here

    if (deposit != null)
    {
      String obo = deposit.getOnBehalfOf();
      if (obo != null)
      {
        Contributor cont = new Contributor();
        cont.setName(obo);
        entry.addContributor(cont);
      }
    }
  }
View Full Code Here

      }
     
      Iterator<Contributor> contributors = entry.getContributors();
      while( contributors.hasNext() )
      {
         Contributor contributor = contributors.next();
         System.out.println("Contributor - " + contributor.toString());
      }
     
      Iterator<Link> links = entry.getLinks();
      while( links.hasNext() )
      {
View Full Code Here

TOP

Related Classes of org.purl.sword.atom.Contributor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.