///////////////////////////////////////////////////////////////////////////////
// Filename: $RCSfile$
// Purpose: Atom representation.
// Language: Java
// Compiler: JDK 1.4
// Authors: Joerg K. Wegner
// Version: $Revision: 3134 $
// $Date: 2009-11-06 19:32:07 +0100 (Fr, 06 Nov 2009) $
// $Author: mortenalver $
//
// Copyright (c) Dept. Computer Architecture, University of Tuebingen, Germany
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
///////////////////////////////////////////////////////////////////////////////
package net.sf.jabref.export.layout.format;
import net.sf.jabref.AuthorList;
/**
* Create DocBook editors formatter.
*
* @author $author$
* @version $Revision: 3134 $
*/
public class CreateDocBookEditors extends CreateDocBookAuthors
{
//~ Methods ////////////////////////////////////////////////////////////////
public String format(String fieldText)
{
// <editor><firstname>L.</firstname><surname>Xue</surname></editor>
StringBuilder sb = new StringBuilder(100);
AuthorList al = AuthorList.getAuthorList(fieldText);
addBody(sb, al, "editor");
return sb.toString();
}
}
///////////////////////////////////////////////////////////////////////////////
// END OF FILE.
///////////////////////////////////////////////////////////////////////////////