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

Revision 43, 12.2 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.math.BigInteger;
12import java.util.ArrayList;
13import java.util.List;
14import javax.annotation.Generated;
15import javax.xml.bind.Unmarshaller;
16import javax.xml.bind.annotation.XmlAccessType;
17import javax.xml.bind.annotation.XmlAccessorType;
18import javax.xml.bind.annotation.XmlAttribute;
19import javax.xml.bind.annotation.XmlTransient;
20import javax.xml.bind.annotation.XmlType;
21import com.sun.xml.bind.Locatable;
22import com.sun.xml.bind.annotation.XmlLocation;
23import org.jvnet.jaxb2_commons.ppp.Child;
24import org.xml.sax.Locator;
25
26
27/**
28 * <p>Java class for Spacing complex type.
29 *
30 * <p>The following schema fragment specifies the expected content contained within this class.
31 *
32 * <pre>
33 * &lt;complexType name="Spacing">
34 *   &lt;complexContent>
35 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 *       &lt;attribute name="before" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
37 *       &lt;attribute name="beforeLines" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
38 *       &lt;attribute name="beforeAutospacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_OnOff" />
39 *       &lt;attribute name="after" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
40 *       &lt;attribute name="afterLines" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
41 *       &lt;attribute name="afterAutospacing" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_OnOff" />
42 *       &lt;attribute name="line" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_SignedTwipsMeasure" />
43 *       &lt;attribute name="lineRule" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LineSpacingRule" />
44 *     &lt;/restriction>
45 *   &lt;/complexContent>
46 * &lt;/complexType>
47 * </pre>
48 *
49 *
50 */
51@XmlAccessorType(XmlAccessType.FIELD)
52@XmlType(name = "Spacing")
53@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
54public class Spacing
55    implements Locatable, Child
56{
57
58    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
59    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
60    protected BigInteger before;
61    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
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 BigInteger beforeLines;
64    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
65    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
66    protected String beforeAutospacing;
67    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
68    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
69    protected BigInteger after;
70    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
71    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
72    protected BigInteger afterLines;
73    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
74    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
75    protected String afterAutospacing;
76    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
77    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
78    protected BigInteger line;
79    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
80    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
81    protected List<String> lineRule;
82    @XmlTransient
83    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
84    private Object parent;
85    @XmlLocation
86    @XmlTransient
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    protected Locator locator;
89
90    /**
91     * Gets the value of the before property.
92     *
93     * @return
94     *     possible object is
95     *     {@link BigInteger }
96     *     
97     */
98    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
99    public BigInteger getBefore() {
100        return before;
101    }
102
103    /**
104     * Sets the value of the before property.
105     *
106     * @param value
107     *     allowed object is
108     *     {@link BigInteger }
109     *     
110     */
111    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
112    public void setBefore(BigInteger value) {
113        this.before = value;
114    }
115
116    /**
117     * Gets the value of the beforeLines property.
118     *
119     * @return
120     *     possible object is
121     *     {@link BigInteger }
122     *     
123     */
124    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
125    public BigInteger getBeforeLines() {
126        return beforeLines;
127    }
128
129    /**
130     * Sets the value of the beforeLines property.
131     *
132     * @param value
133     *     allowed object is
134     *     {@link BigInteger }
135     *     
136     */
137    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
138    public void setBeforeLines(BigInteger value) {
139        this.beforeLines = value;
140    }
141
142    /**
143     * Gets the value of the beforeAutospacing property.
144     *
145     * @return
146     *     possible object is
147     *     {@link String }
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 String getBeforeAutospacing() {
152        return beforeAutospacing;
153    }
154
155    /**
156     * Sets the value of the beforeAutospacing property.
157     *
158     * @param value
159     *     allowed object is
160     *     {@link String }
161     *     
162     */
163    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
164    public void setBeforeAutospacing(String value) {
165        this.beforeAutospacing = value;
166    }
167
168    /**
169     * Gets the value of the after property.
170     *
171     * @return
172     *     possible object is
173     *     {@link BigInteger }
174     *     
175     */
176    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
177    public BigInteger getAfter() {
178        return after;
179    }
180
181    /**
182     * Sets the value of the after property.
183     *
184     * @param value
185     *     allowed object is
186     *     {@link BigInteger }
187     *     
188     */
189    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
190    public void setAfter(BigInteger value) {
191        this.after = value;
192    }
193
194    /**
195     * Gets the value of the afterLines property.
196     *
197     * @return
198     *     possible object is
199     *     {@link BigInteger }
200     *     
201     */
202    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
203    public BigInteger getAfterLines() {
204        return afterLines;
205    }
206
207    /**
208     * Sets the value of the afterLines property.
209     *
210     * @param value
211     *     allowed object is
212     *     {@link BigInteger }
213     *     
214     */
215    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
216    public void setAfterLines(BigInteger value) {
217        this.afterLines = value;
218    }
219
220    /**
221     * Gets the value of the afterAutospacing property.
222     *
223     * @return
224     *     possible object is
225     *     {@link String }
226     *     
227     */
228    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
229    public String getAfterAutospacing() {
230        return afterAutospacing;
231    }
232
233    /**
234     * Sets the value of the afterAutospacing property.
235     *
236     * @param value
237     *     allowed object is
238     *     {@link String }
239     *     
240     */
241    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
242    public void setAfterAutospacing(String value) {
243        this.afterAutospacing = value;
244    }
245
246    /**
247     * Gets the value of the line property.
248     *
249     * @return
250     *     possible object is
251     *     {@link BigInteger }
252     *     
253     */
254    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
255    public BigInteger getLine() {
256        return line;
257    }
258
259    /**
260     * Sets the value of the line property.
261     *
262     * @param value
263     *     allowed object is
264     *     {@link BigInteger }
265     *     
266     */
267    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
268    public void setLine(BigInteger value) {
269        this.line = value;
270    }
271
272    /**
273     * Gets the value of the lineRule property.
274     *
275     * <p>
276     * This accessor method returns a reference to the live list,
277     * not a snapshot. Therefore any modification you make to the
278     * returned list will be present inside the JAXB object.
279     * This is why there is not a <CODE>set</CODE> method for the lineRule property.
280     *
281     * <p>
282     * For example, to add a new item, do as follows:
283     * <pre>
284     *    getLineRule().add(newItem);
285     * </pre>
286     *
287     *
288     * <p>
289     * Objects of the following type(s) are allowed in the list
290     * {@link String }
291     *
292     *
293     */
294    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
295    public List<String> getLineRule() {
296        if (lineRule == null) {
297            lineRule = new ArrayList<String>();
298        }
299        return this.lineRule;
300    }
301
302    /**
303     * Gets the parent object in the object tree representing the unmarshalled xml document.
304     *
305     * @return
306     *     The parent object.
307     */
308    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
309    public Object getParent() {
310        return this.parent;
311    }
312
313    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
314    public void setParent(Object parent) {
315        this.parent = parent;
316    }
317
318    /**
319     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
320     *
321     * @param parent
322     *     The parent object in the object tree.
323     * @param unmarshaller
324     *     The unmarshaller that generated the instance.
325     */
326    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
327    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
328        setParent(parent);
329    }
330
331    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
332    public Locator sourceLocation() {
333        return locator;
334    }
335
336    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
337    public void setSourceLocation(Locator newLocator) {
338        locator = newLocator;
339    }
340
341}
Note: See TracBrowser for help on using the repository browser.