performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-bulkeditor / src / main / java / eu / etaxonomy / taxeditor / bulkeditor / BulkEditorEntityCreatorService.java
index 2a82940204cd2a61ab981990d2a54ba90230e83f..3582459f5ccce24a032868b201bcec4ea13000ca 100644 (file)
@@ -1,54 +1,58 @@
-// $Id$\r
-/**\r
-* Copyright (C) 2007 EDIT\r
-* European Distributed Institute of Taxonomy \r
-* http://www.e-taxonomy.eu\r
-* \r
-* The contents of this file are subject to the Mozilla Public License Version 1.1\r
-* See LICENSE.TXT at the top of this package for the full license terms.\r
-*/\r
-\r
-package eu.etaxonomy.taxeditor.bulkeditor;\r
-\r
-import org.apache.log4j.Logger;\r
-\r
-import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator;\r
-import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreatorService;\r
-import eu.etaxonomy.taxeditor.bulkeditor.input.AgentEditorInput;\r
-import eu.etaxonomy.taxeditor.bulkeditor.input.NameEditorInput;\r
-import eu.etaxonomy.taxeditor.bulkeditor.input.OccurrenceEditorInput;\r
-import eu.etaxonomy.taxeditor.bulkeditor.input.ReferenceEditorInput;\r
-\r
-/**\r
- * @author p.ciardelli\r
- * @created 25.08.2009\r
- * @version 1.0\r
- */\r
-public class BulkEditorEntityCreatorService implements IEntityCreatorService {\r
-       private static final Logger logger = Logger\r
-                       .getLogger(BulkEditorEntityCreatorService.class);\r
-\r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreatorService#getEntityCreator(java.lang.Object)\r
-        */\r
-       public IEntityCreator getEntityCreator(Object element) {\r
-               if (element instanceof ReferenceEditorInput) {\r
-                       return new ReferenceCreator();\r
-               }\r
-               if (element instanceof NameEditorInput) {\r
-                       return new NameCreator();\r
-               }\r
-               if (element instanceof AgentEditorInput) {\r
-                       return new TeamOrPersonCreator();\r
-               }\r
-               if (element instanceof OccurrenceEditorInput) {\r
-                       return new OccurrenceCreator();\r
-               }\r
-               return null;\r
-       }\r
-\r
-       /* (non-Javadoc)\r
-        * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreatorService#setEntityCreator(eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator, java.lang.Object)\r
-        */\r
-       public void setEntityCreator(IEntityCreator entityCreator, Object element) {}\r
-}\r
+// $Id$
+/**
+* Copyright (C) 2007 EDIT
+* European Distributed Institute of Taxonomy 
+* http://www.e-taxonomy.eu
+* 
+* The contents of this file are subject to the Mozilla Public License Version 1.1
+* See LICENSE.TXT at the top of this package for the full license terms.
+*/
+
+package eu.etaxonomy.taxeditor.bulkeditor;
+
+import org.apache.log4j.Logger;
+
+import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator;
+import eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreatorService;
+import eu.etaxonomy.taxeditor.bulkeditor.input.AgentEditorInput;
+import eu.etaxonomy.taxeditor.bulkeditor.input.NameEditorInput;
+import eu.etaxonomy.taxeditor.bulkeditor.input.OccurrenceEditorInput;
+import eu.etaxonomy.taxeditor.bulkeditor.input.ReferenceEditorInput;
+
+/**
+ * <p>BulkEditorEntityCreatorService class.</p>
+ *
+ * @author p.ciardelli
+ * @created 25.08.2009
+ * @version 1.0
+ */
+public class BulkEditorEntityCreatorService implements IEntityCreatorService {
+       private static final Logger logger = Logger
+                       .getLogger(BulkEditorEntityCreatorService.class);
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreatorService#getEntityCreator(java.lang.Object)
+        */
+       /** {@inheritDoc} */
+       public IEntityCreator getEntityCreator(Object element) {
+               if (element instanceof ReferenceEditorInput) {
+                       return new ReferenceCreator();
+               }
+               if (element instanceof NameEditorInput) {
+                       return new NameCreator();
+               }
+               if (element instanceof AgentEditorInput) {
+                       return new TeamOrPersonCreator();
+               }
+               if (element instanceof OccurrenceEditorInput) {
+                       return new OccurrenceCreator();
+               }
+               return null;
+       }
+
+       /* (non-Javadoc)
+        * @see eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreatorService#setEntityCreator(eu.etaxonomy.taxeditor.annotatedlineeditor.IEntityCreator, java.lang.Object)
+        */
+       /** {@inheritDoc} */
+       public void setEntityCreator(IEntityCreator entityCreator, Object element) {}
+}