1 package org.lcsim.geometry.compact.converter.lcdd.util; 2 3 import org.jdom.Element; 4 5 6 /** 7 * 8 * @author tonyj 9 */ 10 public class Author extends Element 11 { 12 13 /** Creates a new instance of Author */ 14 public Author() 15 { 16 super("author"); 17 } 18 19 public void setAuthorName(String name) 20 { 21 if ( name == null ) 22 { 23 name = "UNKNOWN"; 24 } 25 setAttribute("name",name); 26 } 27 28 public void setAuthorEmail(String email) 29 { 30 if ( email == null ) 31 { 32 email = "NONE"; 33 } 34 setAttribute("email",email); 35 } 36 }