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

Revision 888, 6.0 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_EqArrPr 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_EqArrPr">
39 *   &lt;complexContent>
40 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
41 *       &lt;sequence>
42 *         &lt;element name="baseJc" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_YAlign" minOccurs="0"/>
43 *         &lt;element name="maxDist" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
44 *         &lt;element name="objDist" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_OnOff" minOccurs="0"/>
45 *         &lt;element name="rSpRule" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_SpacingRule" minOccurs="0"/>
46 *         &lt;element name="rSp" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_UnSignedInteger" 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_EqArrPr", propOrder = {
58    "baseJc",
59    "maxDist",
60    "objDist",
61    "rSpRule",
62    "rSp",
63    "ctrlPr"
64})
65public class CTEqArrPr
66    implements Child
67{
68
69    protected CTYAlign baseJc;
70    protected CTOnOff maxDist;
71    protected CTOnOff objDist;
72    protected CTSpacingRule rSpRule;
73    protected CTUnSignedInteger rSp;
74    protected CTCtrlPr ctrlPr;
75    @XmlTransient
76    private Object parent;
77
78    /**
79     * Gets the value of the baseJc property.
80     *
81     * @return
82     *     possible object is
83     *     {@link CTYAlign }
84     *     
85     */
86    public CTYAlign getBaseJc() {
87        return baseJc;
88    }
89
90    /**
91     * Sets the value of the baseJc property.
92     *
93     * @param value
94     *     allowed object is
95     *     {@link CTYAlign }
96     *     
97     */
98    public void setBaseJc(CTYAlign value) {
99        this.baseJc = value;
100    }
101
102    /**
103     * Gets the value of the maxDist property.
104     *
105     * @return
106     *     possible object is
107     *     {@link CTOnOff }
108     *     
109     */
110    public CTOnOff getMaxDist() {
111        return maxDist;
112    }
113
114    /**
115     * Sets the value of the maxDist property.
116     *
117     * @param value
118     *     allowed object is
119     *     {@link CTOnOff }
120     *     
121     */
122    public void setMaxDist(CTOnOff value) {
123        this.maxDist = value;
124    }
125
126    /**
127     * Gets the value of the objDist property.
128     *
129     * @return
130     *     possible object is
131     *     {@link CTOnOff }
132     *     
133     */
134    public CTOnOff getObjDist() {
135        return objDist;
136    }
137
138    /**
139     * Sets the value of the objDist property.
140     *
141     * @param value
142     *     allowed object is
143     *     {@link CTOnOff }
144     *     
145     */
146    public void setObjDist(CTOnOff value) {
147        this.objDist = value;
148    }
149
150    /**
151     * Gets the value of the rSpRule property.
152     *
153     * @return
154     *     possible object is
155     *     {@link CTSpacingRule }
156     *     
157     */
158    public CTSpacingRule getRSpRule() {
159        return rSpRule;
160    }
161
162    /**
163     * Sets the value of the rSpRule property.
164     *
165     * @param value
166     *     allowed object is
167     *     {@link CTSpacingRule }
168     *     
169     */
170    public void setRSpRule(CTSpacingRule value) {
171        this.rSpRule = value;
172    }
173
174    /**
175     * Gets the value of the rSp property.
176     *
177     * @return
178     *     possible object is
179     *     {@link CTUnSignedInteger }
180     *     
181     */
182    public CTUnSignedInteger getRSp() {
183        return rSp;
184    }
185
186    /**
187     * Sets the value of the rSp property.
188     *
189     * @param value
190     *     allowed object is
191     *     {@link CTUnSignedInteger }
192     *     
193     */
194    public void setRSp(CTUnSignedInteger value) {
195        this.rSp = 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.