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