source: trunk/docx4j/src/main/java/org/docx4j/wml/FontSig.java @ 359

Revision 359, 6.4 KB checked in by jharrop, 4 years ago (diff)

Change CT_FldChar to FldChar?;
Style is freestanding, rather than an inner class of Styles.
(Other changes largely whitespace in license header)

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.wml;
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_FontSig 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_FontSig">
40 *   &lt;complexContent>
41 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
42 *       &lt;attribute name="usb0" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
43 *       &lt;attribute name="usb1" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
44 *       &lt;attribute name="usb2" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
45 *       &lt;attribute name="usb3" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
46 *       &lt;attribute name="csb0" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
47 *       &lt;attribute name="csb1" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_LongHexNumber" />
48 *     &lt;/restriction>
49 *   &lt;/complexContent>
50 * &lt;/complexType>
51 * </pre>
52 *
53 *
54 */
55@XmlAccessorType(XmlAccessType.FIELD)
56@XmlType(name = "CT_FontSig")
57public class FontSig
58    implements Child
59{
60
61    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
62    protected String usb0;
63    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
64    protected String usb1;
65    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
66    protected String usb2;
67    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
68    protected String usb3;
69    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
70    protected String csb0;
71    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
72    protected String csb1;
73    @XmlTransient
74    private Object parent;
75
76    /**
77     * Gets the value of the usb0 property.
78     *
79     * @return
80     *     possible object is
81     *     {@link String }
82     *     
83     */
84    public String getUsb0() {
85        return usb0;
86    }
87
88    /**
89     * Sets the value of the usb0 property.
90     *
91     * @param value
92     *     allowed object is
93     *     {@link String }
94     *     
95     */
96    public void setUsb0(String value) {
97        this.usb0 = value;
98    }
99
100    /**
101     * Gets the value of the usb1 property.
102     *
103     * @return
104     *     possible object is
105     *     {@link String }
106     *     
107     */
108    public String getUsb1() {
109        return usb1;
110    }
111
112    /**
113     * Sets the value of the usb1 property.
114     *
115     * @param value
116     *     allowed object is
117     *     {@link String }
118     *     
119     */
120    public void setUsb1(String value) {
121        this.usb1 = value;
122    }
123
124    /**
125     * Gets the value of the usb2 property.
126     *
127     * @return
128     *     possible object is
129     *     {@link String }
130     *     
131     */
132    public String getUsb2() {
133        return usb2;
134    }
135
136    /**
137     * Sets the value of the usb2 property.
138     *
139     * @param value
140     *     allowed object is
141     *     {@link String }
142     *     
143     */
144    public void setUsb2(String value) {
145        this.usb2 = value;
146    }
147
148    /**
149     * Gets the value of the usb3 property.
150     *
151     * @return
152     *     possible object is
153     *     {@link String }
154     *     
155     */
156    public String getUsb3() {
157        return usb3;
158    }
159
160    /**
161     * Sets the value of the usb3 property.
162     *
163     * @param value
164     *     allowed object is
165     *     {@link String }
166     *     
167     */
168    public void setUsb3(String value) {
169        this.usb3 = value;
170    }
171
172    /**
173     * Gets the value of the csb0 property.
174     *
175     * @return
176     *     possible object is
177     *     {@link String }
178     *     
179     */
180    public String getCsb0() {
181        return csb0;
182    }
183
184    /**
185     * Sets the value of the csb0 property.
186     *
187     * @param value
188     *     allowed object is
189     *     {@link String }
190     *     
191     */
192    public void setCsb0(String value) {
193        this.csb0 = value;
194    }
195
196    /**
197     * Gets the value of the csb1 property.
198     *
199     * @return
200     *     possible object is
201     *     {@link String }
202     *     
203     */
204    public String getCsb1() {
205        return csb1;
206    }
207
208    /**
209     * Sets the value of the csb1 property.
210     *
211     * @param value
212     *     allowed object is
213     *     {@link String }
214     *     
215     */
216    public void setCsb1(String value) {
217        this.csb1 = value;
218    }
219
220    /**
221     * Gets the parent object in the object tree representing the unmarshalled xml document.
222     *
223     * @return
224     *     The parent object.
225     */
226    public Object getParent() {
227        return this.parent;
228    }
229
230    public void setParent(Object parent) {
231        this.parent = parent;
232    }
233
234    /**
235     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
236     *
237     * @param parent
238     *     The parent object in the object tree.
239     * @param unmarshaller
240     *     The unmarshaller that generated the instance.
241     */
242    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
243        setParent(parent);
244    }
245
246}
Note: See TracBrowser for help on using the repository browser.