2 * Copyright (C) 2009 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.cdm
.io
.markup
;
11 import java
.util
.List
;
13 import org
.apache
.commons
.lang
.StringUtils
;
15 import eu
.etaxonomy
.cdm
.model
.common
.Annotation
;
16 import eu
.etaxonomy
.cdm
.model
.common
.Extension
;
23 public class WriterDataHolder
{
25 List
<FootnoteDataHolder
> footnotes
;
27 Annotation annotation
;
32 * @see java.lang.Object#toString()
35 public String
toString() {
36 if (StringUtils
.isNotBlank(this.writer
)){
37 String result
= "Writer: " + this.writer
;
38 if (footnotes
!= null && ! footnotes
.isEmpty()){
39 result
+= result
+ "[" + footnotes
.size() + "]";
43 return super.toString();