| 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 | |
|---|
| 9 | package org.docx4j.jaxb.document; |
|---|
| 10 | |
|---|
| 11 | import java.util.ArrayList; |
|---|
| 12 | import java.util.List; |
|---|
| 13 | import javax.annotation.Generated; |
|---|
| 14 | import javax.xml.bind.JAXBElement; |
|---|
| 15 | import javax.xml.bind.Unmarshaller; |
|---|
| 16 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 17 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 18 | import javax.xml.bind.annotation.XmlElementRef; |
|---|
| 19 | import javax.xml.bind.annotation.XmlElementRefs; |
|---|
| 20 | import javax.xml.bind.annotation.XmlTransient; |
|---|
| 21 | import javax.xml.bind.annotation.XmlType; |
|---|
| 22 | import com.sun.xml.bind.Locatable; |
|---|
| 23 | import com.sun.xml.bind.annotation.XmlLocation; |
|---|
| 24 | import org.jvnet.jaxb2_commons.ppp.Child; |
|---|
| 25 | import org.xml.sax.Locator; |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | /** |
|---|
| 29 | * <p>Java class for CT_Body complex type. |
|---|
| 30 | * |
|---|
| 31 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 32 | * |
|---|
| 33 | * <pre> |
|---|
| 34 | * <complexType name="CT_Body"> |
|---|
| 35 | * <complexContent> |
|---|
| 36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 37 | * <sequence> |
|---|
| 38 | * <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_BlockLevelElts" maxOccurs="unbounded" minOccurs="0"/> |
|---|
| 39 | * <element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}sectPr" minOccurs="0"/> |
|---|
| 40 | * </sequence> |
|---|
| 41 | * </restriction> |
|---|
| 42 | * </complexContent> |
|---|
| 43 | * </complexType> |
|---|
| 44 | * </pre> |
|---|
| 45 | * |
|---|
| 46 | * |
|---|
| 47 | */ |
|---|
| 48 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 49 | @XmlType(name = "CT_Body", propOrder = { |
|---|
| 50 | "blockLevelElements", |
|---|
| 51 | "sectPr" |
|---|
| 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 | public class Body |
|---|
| 55 | implements Locatable, Child |
|---|
| 56 | { |
|---|
| 57 | |
|---|
| 58 | @XmlElementRefs({ |
|---|
| 59 | @XmlElementRef(name = "del", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 60 | @XmlElementRef(name = "sdt", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 61 | @XmlElementRef(name = "p", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 62 | @XmlElementRef(name = "ins", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 63 | @XmlElementRef(name = "tbl", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class) |
|---|
| 64 | }) |
|---|
| 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 | protected List<JAXBElement<?>> blockLevelElements; |
|---|
| 67 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 68 | protected SectPr sectPr; |
|---|
| 69 | @XmlTransient |
|---|
| 70 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 71 | private Object parent; |
|---|
| 72 | @XmlLocation |
|---|
| 73 | @XmlTransient |
|---|
| 74 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 75 | protected Locator locator; |
|---|
| 76 | |
|---|
| 77 | /** |
|---|
| 78 | * Gets the value of the blockLevelElements property. |
|---|
| 79 | * |
|---|
| 80 | * <p> |
|---|
| 81 | * This accessor method returns a reference to the live list, |
|---|
| 82 | * not a snapshot. Therefore any modification you make to the |
|---|
| 83 | * returned list will be present inside the JAXB object. |
|---|
| 84 | * This is why there is not a <CODE>set</CODE> method for the blockLevelElements property. |
|---|
| 85 | * |
|---|
| 86 | * <p> |
|---|
| 87 | * For example, to add a new item, do as follows: |
|---|
| 88 | * <pre> |
|---|
| 89 | * getBlockLevelElements().add(newItem); |
|---|
| 90 | * </pre> |
|---|
| 91 | * |
|---|
| 92 | * |
|---|
| 93 | * <p> |
|---|
| 94 | * Objects of the following type(s) are allowed in the list |
|---|
| 95 | * {@link JAXBElement }{@code <}{@link RunTrackChange }{@code >} |
|---|
| 96 | * {@link JAXBElement }{@code <}{@link RunTrackChange }{@code >} |
|---|
| 97 | * {@link JAXBElement }{@code <}{@link SdtBlock }{@code >} |
|---|
| 98 | * {@link JAXBElement }{@code <}{@link Tbl }{@code >} |
|---|
| 99 | * {@link JAXBElement }{@code <}{@link P }{@code >} |
|---|
| 100 | * |
|---|
| 101 | * |
|---|
| 102 | */ |
|---|
| 103 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 104 | public List<JAXBElement<?>> getBlockLevelElements() { |
|---|
| 105 | if (blockLevelElements == null) { |
|---|
| 106 | blockLevelElements = new ArrayList<JAXBElement<?>>(); |
|---|
| 107 | } |
|---|
| 108 | return this.blockLevelElements; |
|---|
| 109 | } |
|---|
| 110 | |
|---|
| 111 | /** |
|---|
| 112 | * Gets the value of the sectPr property. |
|---|
| 113 | * |
|---|
| 114 | * @return |
|---|
| 115 | * possible object is |
|---|
| 116 | * {@link SectPr } |
|---|
| 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 SectPr getSectPr() { |
|---|
| 121 | return sectPr; |
|---|
| 122 | } |
|---|
| 123 | |
|---|
| 124 | /** |
|---|
| 125 | * Sets the value of the sectPr property. |
|---|
| 126 | * |
|---|
| 127 | * @param value |
|---|
| 128 | * allowed object is |
|---|
| 129 | * {@link SectPr } |
|---|
| 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 void setSectPr(SectPr value) { |
|---|
| 134 | this.sectPr = value; |
|---|
| 135 | } |
|---|
| 136 | |
|---|
| 137 | /** |
|---|
| 138 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 139 | * |
|---|
| 140 | * @return |
|---|
| 141 | * The parent object. |
|---|
| 142 | */ |
|---|
| 143 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 144 | public Object getParent() { |
|---|
| 145 | return this.parent; |
|---|
| 146 | } |
|---|
| 147 | |
|---|
| 148 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 149 | public void setParent(Object parent) { |
|---|
| 150 | this.parent = parent; |
|---|
| 151 | } |
|---|
| 152 | |
|---|
| 153 | /** |
|---|
| 154 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 155 | * |
|---|
| 156 | * @param parent |
|---|
| 157 | * The parent object in the object tree. |
|---|
| 158 | * @param unmarshaller |
|---|
| 159 | * The unmarshaller that generated the instance. |
|---|
| 160 | */ |
|---|
| 161 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 162 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 163 | setParent(parent); |
|---|
| 164 | } |
|---|
| 165 | |
|---|
| 166 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 167 | public Locator sourceLocation() { |
|---|
| 168 | return locator; |
|---|
| 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 setSourceLocation(Locator newLocator) { |
|---|
| 173 | locator = newLocator; |
|---|
| 174 | } |
|---|
| 175 | |
|---|
| 176 | } |
|---|