1
|
/**
|
2
|
* Copyright (C) 2009 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.jaxb;
|
11
|
|
12
|
import java.util.ArrayList;
|
13
|
import java.util.List;
|
14
|
|
15
|
import javax.xml.bind.annotation.XmlAccessType;
|
16
|
import javax.xml.bind.annotation.XmlAccessorType;
|
17
|
import javax.xml.bind.annotation.XmlAnyElement;
|
18
|
import javax.xml.bind.annotation.XmlMixed;
|
19
|
import javax.xml.bind.annotation.XmlType;
|
20
|
|
21
|
import org.w3c.dom.Element;
|
22
|
|
23
|
/**
|
24
|
* <p>Java class for anonymous complex type.
|
25
|
*
|
26
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
27
|
*
|
28
|
* <pre>
|
29
|
* <complexType>
|
30
|
* <complexContent>
|
31
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
32
|
* <choice minOccurs="0">
|
33
|
* <any/>
|
34
|
* </choice>
|
35
|
* </restriction>
|
36
|
* </complexContent>
|
37
|
* </complexType>
|
38
|
* </pre>
|
39
|
*
|
40
|
*
|
41
|
*/
|
42
|
@XmlAccessorType(XmlAccessType.FIELD)
|
43
|
@XmlType(name = "FormattedText", namespace="http://etaxonomy.eu/cdm/model/common/1.0", propOrder = {
|
44
|
"content"
|
45
|
})
|
46
|
public class FormattedText {
|
47
|
|
48
|
@XmlMixed
|
49
|
@XmlAnyElement
|
50
|
protected List<Object> content = new ArrayList<Object>();
|
51
|
|
52
|
/**
|
53
|
* Gets the value of the content property.
|
54
|
*
|
55
|
* <p>
|
56
|
* This accessor method returns a reference to the live list,
|
57
|
* not a snapshot. Therefore any modification you make to the
|
58
|
* returned list will be present inside the JAXB object.
|
59
|
* This is why there is not a <CODE>set</CODE> method for the content property.
|
60
|
*
|
61
|
* <p>
|
62
|
* For example, to add a new item, do as follows:
|
63
|
* <pre>
|
64
|
* getContent().add(newItem);
|
65
|
* </pre>
|
66
|
*
|
67
|
*
|
68
|
* <p>
|
69
|
* Objects of the following type(s) are allowed in the list
|
70
|
* {@link String }
|
71
|
* {@link Element }
|
72
|
*
|
73
|
*
|
74
|
*/
|
75
|
public List<Object> getContent() {
|
76
|
return this.content;
|
77
|
}
|
78
|
|
79
|
}
|