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

Revision 43, 6.7 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.JAXBElement;
15import javax.xml.bind.Unmarshaller;
16import javax.xml.bind.annotation.XmlAccessType;
17import javax.xml.bind.annotation.XmlAccessorType;
18import javax.xml.bind.annotation.XmlElementRef;
19import javax.xml.bind.annotation.XmlElementRefs;
20import javax.xml.bind.annotation.XmlTransient;
21import javax.xml.bind.annotation.XmlType;
22import com.sun.xml.bind.Locatable;
23import com.sun.xml.bind.annotation.XmlLocation;
24import org.jvnet.jaxb2_commons.ppp.Child;
25import org.xml.sax.Locator;
26
27
28/**
29 * <p>Java class for CT_Tc complex type.
30 *
31 * <p>The following schema fragment specifies the expected content contained within this class.
32 *
33 * <pre>
34 * &lt;complexType name="CT_Tc">
35 *   &lt;complexContent>
36 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 *       &lt;sequence>
38 *         &lt;element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}tcPr" minOccurs="0"/>
39 *         &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_BlockLevelElts" maxOccurs="unbounded"/>
40 *       &lt;/sequence>
41 *     &lt;/restriction>
42 *   &lt;/complexContent>
43 * &lt;/complexType>
44 * </pre>
45 *
46 *
47 */
48@XmlAccessorType(XmlAccessType.FIELD)
49@XmlType(name = "CT_Tc", propOrder = {
50    "tcPr",
51    "blockLevelElements"
52})
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 TcType
55    implements Locatable, Child
56{
57
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    protected TcPr tcPr;
60    @XmlElementRefs({
61        @XmlElementRef(name = "del", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
62        @XmlElementRef(name = "sdt", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
63        @XmlElementRef(name = "p", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
64        @XmlElementRef(name = "ins", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
65        @XmlElementRef(name = "tbl", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class)
66    })
67    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
68    protected List<JAXBElement<?>> blockLevelElements;
69    @XmlTransient
70    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
71    private Object parent;
72    @XmlLocation
73    @XmlTransient
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 Locator locator;
76
77    /**
78     * Gets the value of the tcPr property.
79     *
80     * @return
81     *     possible object is
82     *     {@link TcPr }
83     *     
84     */
85    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
86    public TcPr getTcPr() {
87        return tcPr;
88    }
89
90    /**
91     * Sets the value of the tcPr property.
92     *
93     * @param value
94     *     allowed object is
95     *     {@link TcPr }
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 void setTcPr(TcPr value) {
100        this.tcPr = value;
101    }
102
103    /**
104     * Gets the value of the blockLevelElements property.
105     *
106     * <p>
107     * This accessor method returns a reference to the live list,
108     * not a snapshot. Therefore any modification you make to the
109     * returned list will be present inside the JAXB object.
110     * This is why there is not a <CODE>set</CODE> method for the blockLevelElements property.
111     *
112     * <p>
113     * For example, to add a new item, do as follows:
114     * <pre>
115     *    getBlockLevelElements().add(newItem);
116     * </pre>
117     *
118     *
119     * <p>
120     * Objects of the following type(s) are allowed in the list
121     * {@link JAXBElement }{@code <}{@link RunTrackChange }{@code >}
122     * {@link JAXBElement }{@code <}{@link RunTrackChange }{@code >}
123     * {@link JAXBElement }{@code <}{@link SdtBlock }{@code >}
124     * {@link JAXBElement }{@code <}{@link Tbl }{@code >}
125     * {@link JAXBElement }{@code <}{@link P }{@code >}
126     *
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 List<JAXBElement<?>> getBlockLevelElements() {
131        if (blockLevelElements == null) {
132            blockLevelElements = new ArrayList<JAXBElement<?>>();
133        }
134        return this.blockLevelElements;
135    }
136
137    /**
138     * Gets the parent object in the object tree representing the unmarshalled xml document.
139     *
140     * @return
141     *     The parent object.
142     */
143    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
144    public Object getParent() {
145        return this.parent;
146    }
147
148    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
149    public void setParent(Object parent) {
150        this.parent = parent;
151    }
152
153    /**
154     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
155     *
156     * @param parent
157     *     The parent object in the object tree.
158     * @param unmarshaller
159     *     The unmarshaller that generated the instance.
160     */
161    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
162    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
163        setParent(parent);
164    }
165
166    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
167    public Locator sourceLocation() {
168        return locator;
169    }
170
171    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
172    public void setSourceLocation(Locator newLocator) {
173        locator = newLocator;
174    }
175
176}
Note: See TracBrowser for help on using the repository browser.