source: trunk/docx4j/src/main/java/org/docx4j/vml/CTH.java @ 1461

Revision 1461, 7.6 KB checked in by jharrop, 14 months ago (diff)

VML generated classes, based on ECMA 376 1ed (rather than earlier draft).
Includes @XmlType? namespace annotations from revs 940 and 1129.

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.vml;
23
24import javax.xml.bind.Unmarshaller;
25import javax.xml.bind.annotation.XmlAccessType;
26import javax.xml.bind.annotation.XmlAccessorType;
27import javax.xml.bind.annotation.XmlAttribute;
28import javax.xml.bind.annotation.XmlTransient;
29import javax.xml.bind.annotation.XmlType;
30import org.jvnet.jaxb2_commons.ppp.Child;
31
32
33/**
34 * <p>Java class for CT_H complex type.
35 *
36 * <p>The following schema fragment specifies the expected content contained within this class.
37 *
38 * <pre>
39 * &lt;complexType name="CT_H">
40 *   &lt;complexContent>
41 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 *       &lt;attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
43 *       &lt;attribute name="polar" type="{http://www.w3.org/2001/XMLSchema}string" />
44 *       &lt;attribute name="map" type="{http://www.w3.org/2001/XMLSchema}string" />
45 *       &lt;attribute name="invx" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
46 *       &lt;attribute name="invy" type="{urn:schemas-microsoft-com:vml}ST_TrueFalse" />
47 *       &lt;attribute name="switch" type="{urn:schemas-microsoft-com:vml}ST_TrueFalseBlank" />
48 *       &lt;attribute name="xrange" type="{http://www.w3.org/2001/XMLSchema}string" />
49 *       &lt;attribute name="yrange" type="{http://www.w3.org/2001/XMLSchema}string" />
50 *       &lt;attribute name="radiusrange" type="{http://www.w3.org/2001/XMLSchema}string" />
51 *     &lt;/restriction>
52 *   &lt;/complexContent>
53 * &lt;/complexType>
54 * </pre>
55 *
56 *
57 */
58@XmlAccessorType(XmlAccessType.FIELD)
59@XmlType(name = "CT_H")
60public class CTH
61    implements Child
62{
63
64    @XmlAttribute(name = "position")
65    protected String position;
66    @XmlAttribute(name = "polar")
67    protected String polar;
68    @XmlAttribute(name = "map")
69    protected String map;
70    @XmlAttribute(name = "invx")
71    protected STTrueFalse invx;
72    @XmlAttribute(name = "invy")
73    protected STTrueFalse invy;
74    @XmlAttribute(name = "switch")
75    protected String _switch;
76    @XmlAttribute(name = "xrange")
77    protected String xrange;
78    @XmlAttribute(name = "yrange")
79    protected String yrange;
80    @XmlAttribute(name = "radiusrange")
81    protected String radiusrange;
82    @XmlTransient
83    private Object parent;
84
85    /**
86     * Gets the value of the position property.
87     *
88     * @return
89     *     possible object is
90     *     {@link String }
91     *     
92     */
93    public String getPosition() {
94        return position;
95    }
96
97    /**
98     * Sets the value of the position property.
99     *
100     * @param value
101     *     allowed object is
102     *     {@link String }
103     *     
104     */
105    public void setPosition(String value) {
106        this.position = value;
107    }
108
109    /**
110     * Gets the value of the polar property.
111     *
112     * @return
113     *     possible object is
114     *     {@link String }
115     *     
116     */
117    public String getPolar() {
118        return polar;
119    }
120
121    /**
122     * Sets the value of the polar property.
123     *
124     * @param value
125     *     allowed object is
126     *     {@link String }
127     *     
128     */
129    public void setPolar(String value) {
130        this.polar = value;
131    }
132
133    /**
134     * Gets the value of the map property.
135     *
136     * @return
137     *     possible object is
138     *     {@link String }
139     *     
140     */
141    public String getMap() {
142        return map;
143    }
144
145    /**
146     * Sets the value of the map property.
147     *
148     * @param value
149     *     allowed object is
150     *     {@link String }
151     *     
152     */
153    public void setMap(String value) {
154        this.map = value;
155    }
156
157    /**
158     * Gets the value of the invx property.
159     *
160     * @return
161     *     possible object is
162     *     {@link STTrueFalse }
163     *     
164     */
165    public STTrueFalse getInvx() {
166        return invx;
167    }
168
169    /**
170     * Sets the value of the invx property.
171     *
172     * @param value
173     *     allowed object is
174     *     {@link STTrueFalse }
175     *     
176     */
177    public void setInvx(STTrueFalse value) {
178        this.invx = value;
179    }
180
181    /**
182     * Gets the value of the invy property.
183     *
184     * @return
185     *     possible object is
186     *     {@link STTrueFalse }
187     *     
188     */
189    public STTrueFalse getInvy() {
190        return invy;
191    }
192
193    /**
194     * Sets the value of the invy property.
195     *
196     * @param value
197     *     allowed object is
198     *     {@link STTrueFalse }
199     *     
200     */
201    public void setInvy(STTrueFalse value) {
202        this.invy = value;
203    }
204
205    /**
206     * Gets the value of the switch property.
207     *
208     * @return
209     *     possible object is
210     *     {@link String }
211     *     
212     */
213    public String getSwitch() {
214        return _switch;
215    }
216
217    /**
218     * Sets the value of the switch property.
219     *
220     * @param value
221     *     allowed object is
222     *     {@link String }
223     *     
224     */
225    public void setSwitch(String value) {
226        this._switch = value;
227    }
228
229    /**
230     * Gets the value of the xrange property.
231     *
232     * @return
233     *     possible object is
234     *     {@link String }
235     *     
236     */
237    public String getXrange() {
238        return xrange;
239    }
240
241    /**
242     * Sets the value of the xrange property.
243     *
244     * @param value
245     *     allowed object is
246     *     {@link String }
247     *     
248     */
249    public void setXrange(String value) {
250        this.xrange = value;
251    }
252
253    /**
254     * Gets the value of the yrange property.
255     *
256     * @return
257     *     possible object is
258     *     {@link String }
259     *     
260     */
261    public String getYrange() {
262        return yrange;
263    }
264
265    /**
266     * Sets the value of the yrange property.
267     *
268     * @param value
269     *     allowed object is
270     *     {@link String }
271     *     
272     */
273    public void setYrange(String value) {
274        this.yrange = value;
275    }
276
277    /**
278     * Gets the value of the radiusrange property.
279     *
280     * @return
281     *     possible object is
282     *     {@link String }
283     *     
284     */
285    public String getRadiusrange() {
286        return radiusrange;
287    }
288
289    /**
290     * Sets the value of the radiusrange property.
291     *
292     * @param value
293     *     allowed object is
294     *     {@link String }
295     *     
296     */
297    public void setRadiusrange(String value) {
298        this.radiusrange = value;
299    }
300
301    /**
302     * Gets the parent object in the object tree representing the unmarshalled xml document.
303     *
304     * @return
305     *     The parent object.
306     */
307    public Object getParent() {
308        return this.parent;
309    }
310
311    public void setParent(Object parent) {
312        this.parent = parent;
313    }
314
315    /**
316     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
317     *
318     * @param parent
319     *     The parent object in the object tree.
320     * @param unmarshaller
321     *     The unmarshaller that generated the instance.
322     */
323    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
324        setParent(parent);
325    }
326
327}
Note: See TracBrowser for help on using the repository browser.