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

Revision 43, 7.6 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 javax.annotation.Generated;
12import javax.xml.bind.Unmarshaller;
13import javax.xml.bind.annotation.XmlAccessType;
14import javax.xml.bind.annotation.XmlAccessorType;
15import javax.xml.bind.annotation.XmlTransient;
16import javax.xml.bind.annotation.XmlType;
17import com.sun.xml.bind.Locatable;
18import com.sun.xml.bind.annotation.XmlLocation;
19import org.jvnet.jaxb2_commons.ppp.Child;
20import org.xml.sax.Locator;
21
22
23/**
24 * <p>Java class for CT_SectPr complex type.
25 *
26 * <p>The following schema fragment specifies the expected content contained within this class.
27 *
28 * <pre>
29 * &lt;complexType name="CT_SectPr">
30 *   &lt;complexContent>
31 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 *       &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_SectPrContents" minOccurs="0"/>
33 *     &lt;/restriction>
34 *   &lt;/complexContent>
35 * &lt;/complexType>
36 * </pre>
37 *
38 *
39 */
40@XmlAccessorType(XmlAccessType.FIELD)
41@XmlType(name = "CT_SectPr", propOrder = {
42    "type",
43    "pgSz",
44    "pgMar",
45    "pgNumType",
46    "titlePg"
47})
48@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
49public class SectPr
50    implements Locatable, Child
51{
52
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 SectType type;
55    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
56    protected PageSz pgSz;
57    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
58    protected PageMar pgMar;
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 PageNumber pgNumType;
61    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
62    protected BooleanDefaultTrue titlePg;
63    @XmlTransient
64    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
65    private Object parent;
66    @XmlLocation
67    @XmlTransient
68    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
69    protected Locator locator;
70
71    /**
72     * Gets the value of the type property.
73     *
74     * @return
75     *     possible object is
76     *     {@link SectType }
77     *     
78     */
79    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
80    public SectType getType() {
81        return type;
82    }
83
84    /**
85     * Sets the value of the type property.
86     *
87     * @param value
88     *     allowed object is
89     *     {@link SectType }
90     *     
91     */
92    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
93    public void setType(SectType value) {
94        this.type = value;
95    }
96
97    /**
98     * Gets the value of the pgSz property.
99     *
100     * @return
101     *     possible object is
102     *     {@link PageSz }
103     *     
104     */
105    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
106    public PageSz getPgSz() {
107        return pgSz;
108    }
109
110    /**
111     * Sets the value of the pgSz property.
112     *
113     * @param value
114     *     allowed object is
115     *     {@link PageSz }
116     *     
117     */
118    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
119    public void setPgSz(PageSz value) {
120        this.pgSz = value;
121    }
122
123    /**
124     * Gets the value of the pgMar property.
125     *
126     * @return
127     *     possible object is
128     *     {@link PageMar }
129     *     
130     */
131    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
132    public PageMar getPgMar() {
133        return pgMar;
134    }
135
136    /**
137     * Sets the value of the pgMar property.
138     *
139     * @param value
140     *     allowed object is
141     *     {@link PageMar }
142     *     
143     */
144    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
145    public void setPgMar(PageMar value) {
146        this.pgMar = value;
147    }
148
149    /**
150     * Gets the value of the pgNumType property.
151     *
152     * @return
153     *     possible object is
154     *     {@link PageNumber }
155     *     
156     */
157    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
158    public PageNumber getPgNumType() {
159        return pgNumType;
160    }
161
162    /**
163     * Sets the value of the pgNumType property.
164     *
165     * @param value
166     *     allowed object is
167     *     {@link PageNumber }
168     *     
169     */
170    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
171    public void setPgNumType(PageNumber value) {
172        this.pgNumType = value;
173    }
174
175    /**
176     * Gets the value of the titlePg property.
177     *
178     * @return
179     *     possible object is
180     *     {@link BooleanDefaultTrue }
181     *     
182     */
183    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
184    public BooleanDefaultTrue getTitlePg() {
185        return titlePg;
186    }
187
188    /**
189     * Sets the value of the titlePg property.
190     *
191     * @param value
192     *     allowed object is
193     *     {@link BooleanDefaultTrue }
194     *     
195     */
196    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
197    public void setTitlePg(BooleanDefaultTrue value) {
198        this.titlePg = value;
199    }
200
201    /**
202     * Gets the parent object in the object tree representing the unmarshalled xml document.
203     *
204     * @return
205     *     The parent object.
206     */
207    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
208    public Object getParent() {
209        return this.parent;
210    }
211
212    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
213    public void setParent(Object parent) {
214        this.parent = parent;
215    }
216
217    /**
218     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
219     *
220     * @param parent
221     *     The parent object in the object tree.
222     * @param unmarshaller
223     *     The unmarshaller that generated the instance.
224     */
225    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
226    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
227        setParent(parent);
228    }
229
230    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
231    public Locator sourceLocation() {
232        return locator;
233    }
234
235    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
236    public void setSourceLocation(Locator newLocator) {
237        locator = newLocator;
238    }
239
240}
Note: See TracBrowser for help on using the repository browser.