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

Revision 43, 4.5 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.XmlElement;
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 CT_Tabs complex type.
28 *
29 * <p>The following schema fragment specifies the expected content contained within this class.
30 *
31 * <pre>
32 * &lt;complexType name="CT_Tabs">
33 *   &lt;complexContent>
34 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 *       &lt;sequence>
36 *         &lt;element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tab" maxOccurs="unbounded"/>
37 *       &lt;/sequence>
38 *     &lt;/restriction>
39 *   &lt;/complexContent>
40 * &lt;/complexType>
41 * </pre>
42 *
43 *
44 */
45@XmlAccessorType(XmlAccessType.FIELD)
46@XmlType(name = "CT_Tabs", propOrder = {
47    "tab"
48})
49@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
50public class Tabs
51    implements Locatable, Child
52{
53
54    @XmlElement(required = true)
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 List<Tab> tab;
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 tab 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 tab property.
73     *
74     * <p>
75     * For example, to add a new item, do as follows:
76     * <pre>
77     *    getTab().add(newItem);
78     * </pre>
79     *
80     *
81     * <p>
82     * Objects of the following type(s) are allowed in the list
83     * {@link Tab }
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<Tab> getTab() {
89        if (tab == null) {
90            tab = new ArrayList<Tab>();
91        }
92        return this.tab;
93    }
94
95    /**
96     * Gets the parent object in the object tree representing the unmarshalled xml document.
97     *
98     * @return
99     *     The parent object.
100     */
101    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
102    public Object getParent() {
103        return this.parent;
104    }
105
106    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
107    public void setParent(Object parent) {
108        this.parent = parent;
109    }
110
111    /**
112     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
113     *
114     * @param parent
115     *     The parent object in the object tree.
116     * @param unmarshaller
117     *     The unmarshaller that generated the instance.
118     */
119    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
120    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
121        setParent(parent);
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 Locator sourceLocation() {
126        return locator;
127    }
128
129    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
130    public void setSourceLocation(Locator newLocator) {
131        locator = newLocator;
132    }
133
134}
Note: See TracBrowser for help on using the repository browser.