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