source: branches/jaxb/target/generated-sources/org/docx4j/jaxb/document/Underline.java @ 43

Revision 43, 5.6 KB checked in by jharrop, 4 years ago (diff)

Use BooleanDefaultTrue? for schema elements which do default to true, but which had ST_OnOff.

Line 
1//
2// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
3// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4// Any modifications to this file will be lost upon recompilation of the source schema.
5// Generated on: 2007.12.19 at 02:20:48 PM GMT+10:00
6//
7
8
9package org.docx4j.jaxb.document;
10
11import java.util.ArrayList;
12import java.util.List;
13import javax.annotation.Generated;
14import javax.xml.bind.Unmarshaller;
15import javax.xml.bind.annotation.XmlAccessType;
16import javax.xml.bind.annotation.XmlAccessorType;
17import javax.xml.bind.annotation.XmlAttribute;
18import javax.xml.bind.annotation.XmlTransient;
19import javax.xml.bind.annotation.XmlType;
20import com.sun.xml.bind.Locatable;
21import com.sun.xml.bind.annotation.XmlLocation;
22import org.jvnet.jaxb2_commons.ppp.Child;
23import org.xml.sax.Locator;
24
25
26/**
27 * <p>Java class for Underline complex type.
28 *
29 * <p>The following schema fragment specifies the expected content contained within this class.
30 *
31 * <pre>
32 * &lt;complexType name="Underline">
33 *   &lt;complexContent>
34 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 *       &lt;attribute name="val" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_Underline" />
36 *       &lt;attribute name="color" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HexColor" />
37 *     &lt;/restriction>
38 *   &lt;/complexContent>
39 * &lt;/complexType>
40 * </pre>
41 *
42 *
43 */
44@XmlAccessorType(XmlAccessType.FIELD)
45@XmlType(name = "Underline")
46@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
47public class Underline
48    implements Locatable, Child
49{
50
51    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
52    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
53    protected List<String> val;
54    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
55    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
56    protected String color;
57    @XmlTransient
58    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
59    private Object parent;
60    @XmlLocation
61    @XmlTransient
62    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
63    protected Locator locator;
64
65    /**
66     * Gets the value of the val property.
67     *
68     * <p>
69     * This accessor method returns a reference to the live list,
70     * not a snapshot. Therefore any modification you make to the
71     * returned list will be present inside the JAXB object.
72     * This is why there is not a <CODE>set</CODE> method for the val property.
73     *
74     * <p>
75     * For example, to add a new item, do as follows:
76     * <pre>
77     *    getVal().add(newItem);
78     * </pre>
79     *
80     *
81     * <p>
82     * Objects of the following type(s) are allowed in the list
83     * {@link String }
84     *
85     *
86     */
87    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
88    public List<String> getVal() {
89        if (val == null) {
90            val = new ArrayList<String>();
91        }
92        return this.val;
93    }
94
95    /**
96     * Gets the value of the color property.
97     *
98     * @return
99     *     possible object is
100     *     {@link String }
101     *     
102     */
103    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
104    public String getColor() {
105        return color;
106    }
107
108    /**
109     * Sets the value of the color property.
110     *
111     * @param value
112     *     allowed object is
113     *     {@link String }
114     *     
115     */
116    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
117    public void setColor(String value) {
118        this.color = value;
119    }
120
121    /**
122     * Gets the parent object in the object tree representing the unmarshalled xml document.
123     *
124     * @return
125     *     The parent object.
126     */
127    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
128    public Object getParent() {
129        return this.parent;
130    }
131
132    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
133    public void setParent(Object parent) {
134        this.parent = parent;
135    }
136
137    /**
138     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
139     *
140     * @param parent
141     *     The parent object in the object tree.
142     * @param unmarshaller
143     *     The unmarshaller that generated the instance.
144     */
145    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
146    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
147        setParent(parent);
148    }
149
150    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
151    public Locator sourceLocation() {
152        return locator;
153    }
154
155    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
156    public void setSourceLocation(Locator newLocator) {
157        locator = newLocator;
158    }
159
160}
Note: See TracBrowser for help on using the repository browser.