| 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.Unmarshaller; |
|---|
| 15 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 16 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 17 | import javax.xml.bind.annotation.XmlAttribute; |
|---|
| 18 | import javax.xml.bind.annotation.XmlElement; |
|---|
| 19 | import javax.xml.bind.annotation.XmlElements; |
|---|
| 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_SdtPr complex type. |
|---|
| 30 | * |
|---|
| 31 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 32 | * |
|---|
| 33 | * <pre> |
|---|
| 34 | * <complexType name="CT_SdtPr"> |
|---|
| 35 | * <complexContent> |
|---|
| 36 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 37 | * <choice maxOccurs="unbounded"> |
|---|
| 38 | * <element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}rPr" minOccurs="0"/> |
|---|
| 39 | * <element name="alias" minOccurs="0"> |
|---|
| 40 | * <complexType> |
|---|
| 41 | * <complexContent> |
|---|
| 42 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 43 | * <attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_String"/> |
|---|
| 44 | * </restriction> |
|---|
| 45 | * </complexContent> |
|---|
| 46 | * </complexType> |
|---|
| 47 | * </element> |
|---|
| 48 | * <element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}lock" minOccurs="0"/> |
|---|
| 49 | * <element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}id" minOccurs="0"/> |
|---|
| 50 | * <element name="tag" minOccurs="0"> |
|---|
| 51 | * <complexType> |
|---|
| 52 | * <complexContent> |
|---|
| 53 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 54 | * <attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_String"/> |
|---|
| 55 | * </restriction> |
|---|
| 56 | * </complexContent> |
|---|
| 57 | * </complexType> |
|---|
| 58 | * </element> |
|---|
| 59 | * </choice> |
|---|
| 60 | * </restriction> |
|---|
| 61 | * </complexContent> |
|---|
| 62 | * </complexType> |
|---|
| 63 | * </pre> |
|---|
| 64 | * |
|---|
| 65 | * |
|---|
| 66 | */ |
|---|
| 67 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 68 | @XmlType(name = "CT_SdtPr", propOrder = { |
|---|
| 69 | "rPrOrAliasOrLock" |
|---|
| 70 | }) |
|---|
| 71 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 72 | public class SdtPr |
|---|
| 73 | implements Locatable, Child |
|---|
| 74 | { |
|---|
| 75 | |
|---|
| 76 | @XmlElements({ |
|---|
| 77 | @XmlElement(name = "lock", type = Lock.class), |
|---|
| 78 | @XmlElement(name = "rPr", type = RPr.class), |
|---|
| 79 | @XmlElement(name = "alias", type = SdtPr.Alias.class), |
|---|
| 80 | @XmlElement(name = "tag", type = SdtPr.Tag.class), |
|---|
| 81 | @XmlElement(name = "id", type = DecimalNumber.class) |
|---|
| 82 | }) |
|---|
| 83 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 84 | protected List<Object> rPrOrAliasOrLock; |
|---|
| 85 | @XmlTransient |
|---|
| 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 | private Object parent; |
|---|
| 88 | @XmlLocation |
|---|
| 89 | @XmlTransient |
|---|
| 90 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 91 | protected Locator locator; |
|---|
| 92 | |
|---|
| 93 | /** |
|---|
| 94 | * Gets the value of the rPrOrAliasOrLock property. |
|---|
| 95 | * |
|---|
| 96 | * <p> |
|---|
| 97 | * This accessor method returns a reference to the live list, |
|---|
| 98 | * not a snapshot. Therefore any modification you make to the |
|---|
| 99 | * returned list will be present inside the JAXB object. |
|---|
| 100 | * This is why there is not a <CODE>set</CODE> method for the rPrOrAliasOrLock property. |
|---|
| 101 | * |
|---|
| 102 | * <p> |
|---|
| 103 | * For example, to add a new item, do as follows: |
|---|
| 104 | * <pre> |
|---|
| 105 | * getRPrOrAliasOrLock().add(newItem); |
|---|
| 106 | * </pre> |
|---|
| 107 | * |
|---|
| 108 | * |
|---|
| 109 | * <p> |
|---|
| 110 | * Objects of the following type(s) are allowed in the list |
|---|
| 111 | * {@link Lock } |
|---|
| 112 | * {@link RPr } |
|---|
| 113 | * {@link SdtPr.Alias } |
|---|
| 114 | * {@link SdtPr.Tag } |
|---|
| 115 | * {@link DecimalNumber } |
|---|
| 116 | * |
|---|
| 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 List<Object> getRPrOrAliasOrLock() { |
|---|
| 121 | if (rPrOrAliasOrLock == null) { |
|---|
| 122 | rPrOrAliasOrLock = new ArrayList<Object>(); |
|---|
| 123 | } |
|---|
| 124 | return this.rPrOrAliasOrLock; |
|---|
| 125 | } |
|---|
| 126 | |
|---|
| 127 | /** |
|---|
| 128 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 129 | * |
|---|
| 130 | * @return |
|---|
| 131 | * The parent object. |
|---|
| 132 | */ |
|---|
| 133 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 134 | public Object getParent() { |
|---|
| 135 | return this.parent; |
|---|
| 136 | } |
|---|
| 137 | |
|---|
| 138 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 139 | public void setParent(Object parent) { |
|---|
| 140 | this.parent = parent; |
|---|
| 141 | } |
|---|
| 142 | |
|---|
| 143 | /** |
|---|
| 144 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 145 | * |
|---|
| 146 | * @param parent |
|---|
| 147 | * The parent object in the object tree. |
|---|
| 148 | * @param unmarshaller |
|---|
| 149 | * The unmarshaller that generated the instance. |
|---|
| 150 | */ |
|---|
| 151 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 152 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 153 | setParent(parent); |
|---|
| 154 | } |
|---|
| 155 | |
|---|
| 156 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 157 | public Locator sourceLocation() { |
|---|
| 158 | return locator; |
|---|
| 159 | } |
|---|
| 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 setSourceLocation(Locator newLocator) { |
|---|
| 163 | locator = newLocator; |
|---|
| 164 | } |
|---|
| 165 | |
|---|
| 166 | |
|---|
| 167 | /** |
|---|
| 168 | * <p>Java class for anonymous complex type. |
|---|
| 169 | * |
|---|
| 170 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 171 | * |
|---|
| 172 | * <pre> |
|---|
| 173 | * <complexType> |
|---|
| 174 | * <complexContent> |
|---|
| 175 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 176 | * <attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_String"/> |
|---|
| 177 | * </restriction> |
|---|
| 178 | * </complexContent> |
|---|
| 179 | * </complexType> |
|---|
| 180 | * </pre> |
|---|
| 181 | * |
|---|
| 182 | * |
|---|
| 183 | */ |
|---|
| 184 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 185 | @XmlType(name = "") |
|---|
| 186 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 187 | public static class Alias implements Locatable, Child |
|---|
| 188 | { |
|---|
| 189 | |
|---|
| 190 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true) |
|---|
| 191 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 192 | protected String val; |
|---|
| 193 | @XmlTransient |
|---|
| 194 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 195 | private Object parent; |
|---|
| 196 | @XmlLocation |
|---|
| 197 | @XmlTransient |
|---|
| 198 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 199 | protected Locator locator; |
|---|
| 200 | |
|---|
| 201 | /** |
|---|
| 202 | * Gets the value of the val property. |
|---|
| 203 | * |
|---|
| 204 | * @return |
|---|
| 205 | * possible object is |
|---|
| 206 | * {@link String } |
|---|
| 207 | * |
|---|
| 208 | */ |
|---|
| 209 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 210 | public String getVal() { |
|---|
| 211 | return val; |
|---|
| 212 | } |
|---|
| 213 | |
|---|
| 214 | /** |
|---|
| 215 | * Sets the value of the val property. |
|---|
| 216 | * |
|---|
| 217 | * @param value |
|---|
| 218 | * allowed object is |
|---|
| 219 | * {@link String } |
|---|
| 220 | * |
|---|
| 221 | */ |
|---|
| 222 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 223 | public void setVal(String value) { |
|---|
| 224 | this.val = value; |
|---|
| 225 | } |
|---|
| 226 | |
|---|
| 227 | /** |
|---|
| 228 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 229 | * |
|---|
| 230 | * @return |
|---|
| 231 | * The parent object. |
|---|
| 232 | */ |
|---|
| 233 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 234 | public Object getParent() { |
|---|
| 235 | return this.parent; |
|---|
| 236 | } |
|---|
| 237 | |
|---|
| 238 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 239 | public void setParent(Object parent) { |
|---|
| 240 | this.parent = parent; |
|---|
| 241 | } |
|---|
| 242 | |
|---|
| 243 | /** |
|---|
| 244 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 245 | * |
|---|
| 246 | * @param parent |
|---|
| 247 | * The parent object in the object tree. |
|---|
| 248 | * @param unmarshaller |
|---|
| 249 | * The unmarshaller that generated the instance. |
|---|
| 250 | */ |
|---|
| 251 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 252 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 253 | setParent(parent); |
|---|
| 254 | } |
|---|
| 255 | |
|---|
| 256 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 257 | public Locator sourceLocation() { |
|---|
| 258 | return locator; |
|---|
| 259 | } |
|---|
| 260 | |
|---|
| 261 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 262 | public void setSourceLocation(Locator newLocator) { |
|---|
| 263 | locator = newLocator; |
|---|
| 264 | } |
|---|
| 265 | |
|---|
| 266 | } |
|---|
| 267 | |
|---|
| 268 | |
|---|
| 269 | /** |
|---|
| 270 | * <p>Java class for anonymous complex type. |
|---|
| 271 | * |
|---|
| 272 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 273 | * |
|---|
| 274 | * <pre> |
|---|
| 275 | * <complexType> |
|---|
| 276 | * <complexContent> |
|---|
| 277 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 278 | * <attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_String"/> |
|---|
| 279 | * </restriction> |
|---|
| 280 | * </complexContent> |
|---|
| 281 | * </complexType> |
|---|
| 282 | * </pre> |
|---|
| 283 | * |
|---|
| 284 | * |
|---|
| 285 | */ |
|---|
| 286 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 287 | @XmlType(name = "") |
|---|
| 288 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 289 | public static class Tag implements Locatable, Child |
|---|
| 290 | { |
|---|
| 291 | |
|---|
| 292 | @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true) |
|---|
| 293 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 294 | protected String val; |
|---|
| 295 | @XmlTransient |
|---|
| 296 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 297 | private Object parent; |
|---|
| 298 | @XmlLocation |
|---|
| 299 | @XmlTransient |
|---|
| 300 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 301 | protected Locator locator; |
|---|
| 302 | |
|---|
| 303 | /** |
|---|
| 304 | * Gets the value of the val property. |
|---|
| 305 | * |
|---|
| 306 | * @return |
|---|
| 307 | * possible object is |
|---|
| 308 | * {@link String } |
|---|
| 309 | * |
|---|
| 310 | */ |
|---|
| 311 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 312 | public String getVal() { |
|---|
| 313 | return val; |
|---|
| 314 | } |
|---|
| 315 | |
|---|
| 316 | /** |
|---|
| 317 | * Sets the value of the val property. |
|---|
| 318 | * |
|---|
| 319 | * @param value |
|---|
| 320 | * allowed object is |
|---|
| 321 | * {@link String } |
|---|
| 322 | * |
|---|
| 323 | */ |
|---|
| 324 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 325 | public void setVal(String value) { |
|---|
| 326 | this.val = value; |
|---|
| 327 | } |
|---|
| 328 | |
|---|
| 329 | /** |
|---|
| 330 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 331 | * |
|---|
| 332 | * @return |
|---|
| 333 | * The parent object. |
|---|
| 334 | */ |
|---|
| 335 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 336 | public Object getParent() { |
|---|
| 337 | return this.parent; |
|---|
| 338 | } |
|---|
| 339 | |
|---|
| 340 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 341 | public void setParent(Object parent) { |
|---|
| 342 | this.parent = parent; |
|---|
| 343 | } |
|---|
| 344 | |
|---|
| 345 | /** |
|---|
| 346 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 347 | * |
|---|
| 348 | * @param parent |
|---|
| 349 | * The parent object in the object tree. |
|---|
| 350 | * @param unmarshaller |
|---|
| 351 | * The unmarshaller that generated the instance. |
|---|
| 352 | */ |
|---|
| 353 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 354 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 355 | setParent(parent); |
|---|
| 356 | } |
|---|
| 357 | |
|---|
| 358 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 359 | public Locator sourceLocation() { |
|---|
| 360 | return locator; |
|---|
| 361 | } |
|---|
| 362 | |
|---|
| 363 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 364 | public void setSourceLocation(Locator newLocator) { |
|---|
| 365 | locator = newLocator; |
|---|
| 366 | } |
|---|
| 367 | |
|---|
| 368 | } |
|---|
| 369 | |
|---|
| 370 | } |
|---|