Project

General

Profile

Download (1.83 KB) Statistics
| Branch: | Tag: | Revision:
1
package eu.etaxonomy.cdm.jaxb;
2

    
3
import java.util.ArrayList;
4
import java.util.List;
5

    
6
import javax.xml.bind.annotation.XmlAccessType;
7
import javax.xml.bind.annotation.XmlAccessorType;
8
import javax.xml.bind.annotation.XmlAnyElement;
9
import javax.xml.bind.annotation.XmlMixed;
10
import javax.xml.bind.annotation.XmlType;
11

    
12
import org.w3c.dom.Element;
13

    
14
/**
15
 * <p>Java class for anonymous complex type.
16
 * 
17
 * <p>The following schema fragment specifies the expected content contained within this class.
18
 * 
19
 * <pre>
20
 * &lt;complexType>
21
 *   &lt;complexContent>
22
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
23
 *       &lt;choice minOccurs="0">
24
 *         &lt;any/>
25
 *       &lt;/choice>
26
 *     &lt;/restriction>
27
 *   &lt;/complexContent>
28
 * &lt;/complexType>
29
 * </pre>
30
 * 
31
 * 
32
 */
33
@XmlAccessorType(XmlAccessType.FIELD)
34
@XmlType(name = "FormattedText", namespace="http://etaxonomy.eu/cdm/model/common/1.0", propOrder = {
35
    "content"
36
})
37
public class FormattedText {
38

    
39
    @XmlMixed
40
    @XmlAnyElement
41
    protected List<Object> content = new ArrayList<Object>();
42

    
43
    /**
44
     * Gets the value of the content property.
45
     * 
46
     * <p>
47
     * This accessor method returns a reference to the live list,
48
     * not a snapshot. Therefore any modification you make to the
49
     * returned list will be present inside the JAXB object.
50
     * This is why there is not a <CODE>set</CODE> method for the content property.
51
     * 
52
     * <p>
53
     * For example, to add a new item, do as follows:
54
     * <pre>
55
     *    getContent().add(newItem);
56
     * </pre>
57
     * 
58
     * 
59
     * <p>
60
     * Objects of the following type(s) are allowed in the list
61
     * {@link String }
62
     * {@link Element }
63
     * 
64
     * 
65
     */
66
    public List<Object> getContent() {
67
        return this.content;
68
    }
69

    
70
}
(4-4/14)