source: trunk/docx4j/src/main/java/org/docx4j/math/CTNaryPr.java @ 888

Revision 888, 5.9 KB checked in by jharrop, 3 years ago (diff)

Generate classes from shared-math.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.math;
23
24import javax.xml.bind.Unmarshaller;
25import javax.xml.bind.annotation.XmlAccessType;
26import javax.xml.bind.annotation.XmlAccessorType;
27import javax.xml.bind.annotation.XmlTransient;
28import javax.xml.bind.annotation.XmlType;
29import org.jvnet.jaxb2_commons.ppp.Child;
30
31
32/**
33 * <p>Java class for CT_NaryPr complex type.
34 *
35 * <p>The following schema fragment specifies the expected content contained within this class.
36 *
37 * <pre>
38 * &lt;complexType name="CT_NaryPr">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;element name="chr" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_Char" minOccurs="0"/>
43 *         &lt;element name="limLoc" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_LimLoc" minOccurs="0"/>
44 *         &lt;element name="grow" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
45 *         &lt;element name="subHide" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
46 *         &lt;element name="supHide" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
47 *         &lt;element name="ctrlPr" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_CtrlPr" minOccurs="0"/>
48 *       &lt;/sequence>
49 *     &lt;/restriction>
50 *   &lt;/complexContent>
51 * &lt;/complexType>
52 * </pre>
53 *
54 *
55 */
56@XmlAccessorType(XmlAccessType.FIELD)
57@XmlType(name = "CT_NaryPr", propOrder = {
58    "chr",
59    "limLoc",
60    "grow",
61    "subHide",
62    "supHide",
63    "ctrlPr"
64})
65public class CTNaryPr
66    implements Child
67{
68
69    protected CTChar chr;
70    protected CTLimLoc limLoc;
71    protected CTOnOff grow;
72    protected CTOnOff subHide;
73    protected CTOnOff supHide;
74    protected CTCtrlPr ctrlPr;
75    @XmlTransient
76    private Object parent;
77
78    /**
79     * Gets the value of the chr property.
80     *
81     * @return
82     *     possible object is
83     *     {@link CTChar }
84     *     
85     */
86    public CTChar getChr() {
87        return chr;
88    }
89
90    /**
91     * Sets the value of the chr property.
92     *
93     * @param value
94     *     allowed object is
95     *     {@link CTChar }
96     *     
97     */
98    public void setChr(CTChar value) {
99        this.chr = value;
100    }
101
102    /**
103     * Gets the value of the limLoc property.
104     *
105     * @return
106     *     possible object is
107     *     {@link CTLimLoc }
108     *     
109     */
110    public CTLimLoc getLimLoc() {
111        return limLoc;
112    }
113
114    /**
115     * Sets the value of the limLoc property.
116     *
117     * @param value
118     *     allowed object is
119     *     {@link CTLimLoc }
120     *     
121     */
122    public void setLimLoc(CTLimLoc value) {
123        this.limLoc = value;
124    }
125
126    /**
127     * Gets the value of the grow property.
128     *
129     * @return
130     *     possible object is
131     *     {@link CTOnOff }
132     *     
133     */
134    public CTOnOff getGrow() {
135        return grow;
136    }
137
138    /**
139     * Sets the value of the grow property.
140     *
141     * @param value
142     *     allowed object is
143     *     {@link CTOnOff }
144     *     
145     */
146    public void setGrow(CTOnOff value) {
147        this.grow = value;
148    }
149
150    /**
151     * Gets the value of the subHide property.
152     *
153     * @return
154     *     possible object is
155     *     {@link CTOnOff }
156     *     
157     */
158    public CTOnOff getSubHide() {
159        return subHide;
160    }
161
162    /**
163     * Sets the value of the subHide property.
164     *
165     * @param value
166     *     allowed object is
167     *     {@link CTOnOff }
168     *     
169     */
170    public void setSubHide(CTOnOff value) {
171        this.subHide = value;
172    }
173
174    /**
175     * Gets the value of the supHide property.
176     *
177     * @return
178     *     possible object is
179     *     {@link CTOnOff }
180     *     
181     */
182    public CTOnOff getSupHide() {
183        return supHide;
184    }
185
186    /**
187     * Sets the value of the supHide property.
188     *
189     * @param value
190     *     allowed object is
191     *     {@link CTOnOff }
192     *     
193     */
194    public void setSupHide(CTOnOff value) {
195        this.supHide = value;
196    }
197
198    /**
199     * Gets the value of the ctrlPr property.
200     *
201     * @return
202     *     possible object is
203     *     {@link CTCtrlPr }
204     *     
205     */
206    public CTCtrlPr getCtrlPr() {
207        return ctrlPr;
208    }
209
210    /**
211     * Sets the value of the ctrlPr property.
212     *
213     * @param value
214     *     allowed object is
215     *     {@link CTCtrlPr }
216     *     
217     */
218    public void setCtrlPr(CTCtrlPr value) {
219        this.ctrlPr = value;
220    }
221
222    /**
223     * Gets the parent object in the object tree representing the unmarshalled xml document.
224     *
225     * @return
226     *     The parent object.
227     */
228    public Object getParent() {
229        return this.parent;
230    }
231
232    public void setParent(Object parent) {
233        this.parent = parent;
234    }
235
236    /**
237     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
238     *
239     * @param parent
240     *     The parent object in the object tree.
241     * @param unmarshaller
242     *     The unmarshaller that generated the instance.
243     */
244    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
245        setParent(parent);
246    }
247
248}
Note: See TracBrowser for help on using the repository browser.