source: branches/jaxb/target/generated-sources/org/docx4j/jaxb/document/PageSz.java @ 43

Revision 43, 7.5 KB checked in by jharrop, 4 years ago (diff)

Use BooleanDefaultTrue? for schema elements which do default to true, but which had ST_OnOff.

Line 
1//
2// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs
3// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4// Any modifications to this file will be lost upon recompilation of the source schema.
5// Generated on: 2007.12.19 at 02:20:48 PM GMT+10:00
6//
7
8
9package org.docx4j.jaxb.document;
10
11import java.math.BigInteger;
12import javax.annotation.Generated;
13import javax.xml.bind.Unmarshaller;
14import javax.xml.bind.annotation.XmlAccessType;
15import javax.xml.bind.annotation.XmlAccessorType;
16import javax.xml.bind.annotation.XmlAttribute;
17import javax.xml.bind.annotation.XmlTransient;
18import javax.xml.bind.annotation.XmlType;
19import com.sun.xml.bind.Locatable;
20import com.sun.xml.bind.annotation.XmlLocation;
21import org.jvnet.jaxb2_commons.ppp.Child;
22import org.xml.sax.Locator;
23
24
25/**
26 * <p>Java class for PageSz complex type.
27 *
28 * <p>The following schema fragment specifies the expected content contained within this class.
29 *
30 * <pre>
31 * &lt;complexType name="PageSz">
32 *   &lt;complexContent>
33 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34 *       &lt;attribute name="w" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
35 *       &lt;attribute name="h" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_TwipsMeasure" />
36 *       &lt;attribute name="orient" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_PageOrientation" />
37 *       &lt;attribute name="code" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_DecimalNumber" />
38 *     &lt;/restriction>
39 *   &lt;/complexContent>
40 * &lt;/complexType>
41 * </pre>
42 *
43 *
44 */
45@XmlAccessorType(XmlAccessType.FIELD)
46@XmlType(name = "PageSz")
47@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
48public class PageSz
49    implements Locatable, Child
50{
51
52    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
53    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
54    protected BigInteger w;
55    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
56    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
57    protected BigInteger h;
58    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
59    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
60    protected STPageOrientation orient;
61    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main")
62    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
63    protected BigInteger code;
64    @XmlTransient
65    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
66    private Object parent;
67    @XmlLocation
68    @XmlTransient
69    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
70    protected Locator locator;
71
72    /**
73     * Gets the value of the w property.
74     *
75     * @return
76     *     possible object is
77     *     {@link BigInteger }
78     *     
79     */
80    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
81    public BigInteger getW() {
82        return w;
83    }
84
85    /**
86     * Sets the value of the w property.
87     *
88     * @param value
89     *     allowed object is
90     *     {@link BigInteger }
91     *     
92     */
93    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
94    public void setW(BigInteger value) {
95        this.w = value;
96    }
97
98    /**
99     * Gets the value of the h property.
100     *
101     * @return
102     *     possible object is
103     *     {@link BigInteger }
104     *     
105     */
106    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
107    public BigInteger getH() {
108        return h;
109    }
110
111    /**
112     * Sets the value of the h property.
113     *
114     * @param value
115     *     allowed object is
116     *     {@link BigInteger }
117     *     
118     */
119    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
120    public void setH(BigInteger value) {
121        this.h = value;
122    }
123
124    /**
125     * Gets the value of the orient property.
126     *
127     * @return
128     *     possible object is
129     *     {@link STPageOrientation }
130     *     
131     */
132    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
133    public STPageOrientation getOrient() {
134        return orient;
135    }
136
137    /**
138     * Sets the value of the orient property.
139     *
140     * @param value
141     *     allowed object is
142     *     {@link STPageOrientation }
143     *     
144     */
145    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
146    public void setOrient(STPageOrientation value) {
147        this.orient = value;
148    }
149
150    /**
151     * Gets the value of the code property.
152     *
153     * @return
154     *     possible object is
155     *     {@link BigInteger }
156     *     
157     */
158    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
159    public BigInteger getCode() {
160        return code;
161    }
162
163    /**
164     * Sets the value of the code property.
165     *
166     * @param value
167     *     allowed object is
168     *     {@link BigInteger }
169     *     
170     */
171    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
172    public void setCode(BigInteger value) {
173        this.code = value;
174    }
175
176    /**
177     * Gets the parent object in the object tree representing the unmarshalled xml document.
178     *
179     * @return
180     *     The parent object.
181     */
182    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
183    public Object getParent() {
184        return this.parent;
185    }
186
187    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
188    public void setParent(Object parent) {
189        this.parent = parent;
190    }
191
192    /**
193     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
194     *
195     * @param parent
196     *     The parent object in the object tree.
197     * @param unmarshaller
198     *     The unmarshaller that generated the instance.
199     */
200    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
201    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
202        setParent(parent);
203    }
204
205    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
206    public Locator sourceLocation() {
207        return locator;
208    }
209
210    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
211    public void setSourceLocation(Locator newLocator) {
212        locator = newLocator;
213    }
214
215}
Note: See TracBrowser for help on using the repository browser.