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

Revision 43, 4.3 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.XmlSeeAlso;
16import javax.xml.bind.annotation.XmlTransient;
17import javax.xml.bind.annotation.XmlType;
18import com.sun.xml.bind.Locatable;
19import com.sun.xml.bind.annotation.XmlLocation;
20import org.jvnet.jaxb2_commons.ppp.Child;
21import org.xml.sax.Locator;
22
23
24/**
25 * <p>Java class for CT_TrPrBase complex type.
26 *
27 * <p>The following schema fragment specifies the expected content contained within this class.
28 *
29 * <pre>
30 * &lt;complexType name="CT_TrPrBase">
31 *   &lt;complexContent>
32 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 *       &lt;sequence>
34 *         &lt;element name="cantSplit" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}OnOff" minOccurs="0"/>
35 *       &lt;/sequence>
36 *     &lt;/restriction>
37 *   &lt;/complexContent>
38 * &lt;/complexType>
39 * </pre>
40 *
41 *
42 */
43@XmlAccessorType(XmlAccessType.FIELD)
44@XmlType(name = "CT_TrPrBase", propOrder = {
45    "cantSplit"
46})
47@XmlSeeAlso({
48    TrPr.class
49})
50@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
51public class TrPrBase
52    implements Locatable, Child
53{
54
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 OnOff cantSplit;
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    private Object parent;
60    @XmlLocation
61    @XmlTransient
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 Locator locator;
64
65    /**
66     * Gets the value of the cantSplit property.
67     *
68     * @return
69     *     possible object is
70     *     {@link OnOff }
71     *     
72     */
73    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
74    public OnOff getCantSplit() {
75        return cantSplit;
76    }
77
78    /**
79     * Sets the value of the cantSplit property.
80     *
81     * @param value
82     *     allowed object is
83     *     {@link OnOff }
84     *     
85     */
86    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
87    public void setCantSplit(OnOff value) {
88        this.cantSplit = value;
89    }
90
91    /**
92     * Gets the parent object in the object tree representing the unmarshalled xml document.
93     *
94     * @return
95     *     The parent object.
96     */
97    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
98    public Object getParent() {
99        return this.parent;
100    }
101
102    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
103    public void setParent(Object parent) {
104        this.parent = parent;
105    }
106
107    /**
108     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
109     *
110     * @param parent
111     *     The parent object in the object tree.
112     * @param unmarshaller
113     *     The unmarshaller that generated the instance.
114     */
115    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
116    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
117        setParent(parent);
118    }
119
120    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
121    public Locator sourceLocation() {
122        return locator;
123    }
124
125    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
126    public void setSourceLocation(Locator newLocator) {
127        locator = newLocator;
128    }
129
130}
Note: See TracBrowser for help on using the repository browser.