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

Revision 43, 5.8 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.util.ArrayList;
12import java.util.List;
13import javax.annotation.Generated;
14import javax.xml.bind.JAXBElement;
15import javax.xml.bind.Unmarshaller;
16import javax.xml.bind.annotation.XmlAccessType;
17import javax.xml.bind.annotation.XmlAccessorType;
18import javax.xml.bind.annotation.XmlElementRef;
19import javax.xml.bind.annotation.XmlElementRefs;
20import javax.xml.bind.annotation.XmlTransient;
21import javax.xml.bind.annotation.XmlType;
22import com.sun.xml.bind.Locatable;
23import com.sun.xml.bind.annotation.XmlLocation;
24import org.jvnet.jaxb2_commons.ppp.Child;
25import org.xml.sax.Locator;
26
27
28/**
29 * <p>Java class for CT_SdtContentBlock complex type.
30 *
31 * <p>The following schema fragment specifies the expected content contained within this class.
32 *
33 * <pre>
34 * &lt;complexType name="CT_SdtContentBlock">
35 *   &lt;complexContent>
36 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37 *       &lt;group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_ContentBlockContent" maxOccurs="unbounded" minOccurs="0"/>
38 *     &lt;/restriction>
39 *   &lt;/complexContent>
40 * &lt;/complexType>
41 * </pre>
42 *
43 *
44 */
45@XmlAccessorType(XmlAccessType.FIELD)
46@XmlType(name = "CT_SdtContentBlock", propOrder = {
47    "egContentBlockContent"
48})
49@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
50public class SdtContentBlock
51    implements Locatable, Child
52{
53
54    @XmlElementRefs({
55        @XmlElementRef(name = "del", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
56        @XmlElementRef(name = "sdt", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
57        @XmlElementRef(name = "p", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
58        @XmlElementRef(name = "ins", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class),
59        @XmlElementRef(name = "tbl", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class)
60    })
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 List<JAXBElement<?>> egContentBlockContent;
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 egContentBlockContent property.
73     *
74     * <p>
75     * This accessor method returns a reference to the live list,
76     * not a snapshot. Therefore any modification you make to the
77     * returned list will be present inside the JAXB object.
78     * This is why there is not a <CODE>set</CODE> method for the egContentBlockContent property.
79     *
80     * <p>
81     * For example, to add a new item, do as follows:
82     * <pre>
83     *    getEGContentBlockContent().add(newItem);
84     * </pre>
85     *
86     *
87     * <p>
88     * Objects of the following type(s) are allowed in the list
89     * {@link JAXBElement }{@code <}{@link RunTrackChange }{@code >}
90     * {@link JAXBElement }{@code <}{@link RunTrackChange }{@code >}
91     * {@link JAXBElement }{@code <}{@link SdtBlock }{@code >}
92     * {@link JAXBElement }{@code <}{@link Tbl }{@code >}
93     * {@link JAXBElement }{@code <}{@link P }{@code >}
94     *
95     *
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 List<JAXBElement<?>> getEGContentBlockContent() {
99        if (egContentBlockContent == null) {
100            egContentBlockContent = new ArrayList<JAXBElement<?>>();
101        }
102        return this.egContentBlockContent;
103    }
104
105    /**
106     * Gets the parent object in the object tree representing the unmarshalled xml document.
107     *
108     * @return
109     *     The parent object.
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 Object getParent() {
113        return this.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 void setParent(Object parent) {
118        this.parent = parent;
119    }
120
121    /**
122     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
123     *
124     * @param parent
125     *     The parent object in the object tree.
126     * @param unmarshaller
127     *     The unmarshaller that generated the instance.
128     */
129    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
130    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
131        setParent(parent);
132    }
133
134    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
135    public Locator sourceLocation() {
136        return locator;
137    }
138
139    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
140    public void setSourceLocation(Locator newLocator) {
141        locator = newLocator;
142    }
143
144}
Note: See TracBrowser for help on using the repository browser.