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

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