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

Revision 888, 4.7 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_GroupChrPr 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_GroupChrPr">
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="pos" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TopBot" minOccurs="0"/>
44 *         &lt;element name="vertJc" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_TopBot" minOccurs="0"/>
45 *         &lt;element name="ctrlPr" type="{http://schemas.openxmlformats.org/officeDocument/2006/math}CT_CtrlPr" minOccurs="0"/>
46 *       &lt;/sequence>
47 *     &lt;/restriction>
48 *   &lt;/complexContent>
49 * &lt;/complexType>
50 * </pre>
51 *
52 *
53 */
54@XmlAccessorType(XmlAccessType.FIELD)
55@XmlType(name = "CT_GroupChrPr", propOrder = {
56    "chr",
57    "pos",
58    "vertJc",
59    "ctrlPr"
60})
61public class CTGroupChrPr
62    implements Child
63{
64
65    protected CTChar chr;
66    protected CTTopBot pos;
67    protected CTTopBot vertJc;
68    protected CTCtrlPr ctrlPr;
69    @XmlTransient
70    private Object parent;
71
72    /**
73     * Gets the value of the chr property.
74     *
75     * @return
76     *     possible object is
77     *     {@link CTChar }
78     *     
79     */
80    public CTChar getChr() {
81        return chr;
82    }
83
84    /**
85     * Sets the value of the chr property.
86     *
87     * @param value
88     *     allowed object is
89     *     {@link CTChar }
90     *     
91     */
92    public void setChr(CTChar value) {
93        this.chr = value;
94    }
95
96    /**
97     * Gets the value of the pos property.
98     *
99     * @return
100     *     possible object is
101     *     {@link CTTopBot }
102     *     
103     */
104    public CTTopBot getPos() {
105        return pos;
106    }
107
108    /**
109     * Sets the value of the pos property.
110     *
111     * @param value
112     *     allowed object is
113     *     {@link CTTopBot }
114     *     
115     */
116    public void setPos(CTTopBot value) {
117        this.pos = value;
118    }
119
120    /**
121     * Gets the value of the vertJc property.
122     *
123     * @return
124     *     possible object is
125     *     {@link CTTopBot }
126     *     
127     */
128    public CTTopBot getVertJc() {
129        return vertJc;
130    }
131
132    /**
133     * Sets the value of the vertJc property.
134     *
135     * @param value
136     *     allowed object is
137     *     {@link CTTopBot }
138     *     
139     */
140    public void setVertJc(CTTopBot value) {
141        this.vertJc = value;
142    }
143
144    /**
145     * Gets the value of the ctrlPr property.
146     *
147     * @return
148     *     possible object is
149     *     {@link CTCtrlPr }
150     *     
151     */
152    public CTCtrlPr getCtrlPr() {
153        return ctrlPr;
154    }
155
156    /**
157     * Sets the value of the ctrlPr property.
158     *
159     * @param value
160     *     allowed object is
161     *     {@link CTCtrlPr }
162     *     
163     */
164    public void setCtrlPr(CTCtrlPr value) {
165        this.ctrlPr = value;
166    }
167
168    /**
169     * Gets the parent object in the object tree representing the unmarshalled xml document.
170     *
171     * @return
172     *     The parent object.
173     */
174    public Object getParent() {
175        return this.parent;
176    }
177
178    public void setParent(Object parent) {
179        this.parent = parent;
180    }
181
182    /**
183     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
184     *
185     * @param parent
186     *     The parent object in the object tree.
187     * @param unmarshaller
188     *     The unmarshaller that generated the instance.
189     */
190    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
191        setParent(parent);
192    }
193
194}
Note: See TracBrowser for help on using the repository browser.