Package org.purl.sword.atom

Examples of org.purl.sword.atom.Author


  protected void addAuthors()
  {
    if (deposit != null)
    {
      String username = this.deposit.getUsername();
      Author author = new Author();
      author.setName(username);
      entry.addAuthors(author);
    }
  }
View Full Code Here


    se.setUpdated(milliFormat);
     
      Summary s = new Summary();
    s.setContent(filenames.toString());
    se.setSummary(s);
    Author a = new Author();
    if (username != null) {
      a.setName(username);
    } else {
      a.setName("unknown");
    }
    se.addAuthors(a);
   
    Link em = new Link();
    em.setRel("edit-media");
View Full Code Here

    se.setUpdated(milliFormat);
     
      Summary s = new Summary();
    s.setContent(filenames.toString());
    se.setSummary(s);
    Author a = new Author();
    if (username != null) {
      a.setName(username);
    } else {
      a.setName("unknown");
    }
    se.addAuthors(a);
   
    Link em = new Link();
    em.setRel("edit-media");
View Full Code Here

   {
      // process author
      StringBuffer authorBuffer = new StringBuffer();
      for( ; authors.hasNext(); )
      {
         Author a = authors.next();
         authorBuffer.append(getAuthorDetails(a));
      }

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

  protected void addAuthors()
  {
    if (deposit != null)
    {
      String username = this.deposit.getUsername();
      Author author = new Author();
      author.setName(username);
      entry.addAuthors(author);
    }
  }
View Full Code Here

      // process the authors
      Iterator<Author> authors = entry.getAuthors();
      while( authors.hasNext() )
      {
         Author author = authors.next();
         System.out.println("Author - " + author.toString() );
      }
     
      Iterator<String> categories = entry.getCategories();
      while( categories.hasNext() )
      {
View Full Code Here

TOP

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

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.