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

Revision 43, 4.2 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_Document 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_Document">
30 *   &lt;complexContent>
31 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 *       &lt;sequence>
33 *         &lt;element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}body" minOccurs="0"/>
34 *       &lt;/sequence>
35 *     &lt;/restriction>
36 *   &lt;/complexContent>
37 * &lt;/complexType>
38 * </pre>
39 *
40 *
41 */
42@XmlAccessorType(XmlAccessType.FIELD)
43@XmlType(name = "CT_Document", propOrder = {
44    "body"
45})
46@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
47public class Document
48    implements Locatable, Child
49{
50
51    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
52    protected Body body;
53    @XmlTransient
54    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
55    private Object parent;
56    @XmlLocation
57    @XmlTransient
58    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
59    protected Locator locator;
60
61    /**
62     * Gets the value of the body property.
63     *
64     * @return
65     *     possible object is
66     *     {@link Body }
67     *     
68     */
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    public Body getBody() {
71        return body;
72    }
73
74    /**
75     * Sets the value of the body property.
76     *
77     * @param value
78     *     allowed object is
79     *     {@link Body }
80     *     
81     */
82    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
83    public void setBody(Body value) {
84        this.body = value;
85    }
86
87    /**
88     * Gets the parent object in the object tree representing the unmarshalled xml document.
89     *
90     * @return
91     *     The parent object.
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 Object getParent() {
95        return this.parent;
96    }
97
98    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
99    public void setParent(Object parent) {
100        this.parent = parent;
101    }
102
103    /**
104     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
105     *
106     * @param parent
107     *     The parent object in the object tree.
108     * @param unmarshaller
109     *     The unmarshaller that generated the instance.
110     */
111    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
112    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
113        setParent(parent);
114    }
115
116    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
117    public Locator sourceLocation() {
118        return locator;
119    }
120
121    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
122    public void setSourceLocation(Locator newLocator) {
123        locator = newLocator;
124    }
125
126}
Note: See TracBrowser for help on using the repository browser.