| 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.XmlRootElement; |
|---|
| 21 | import javax.xml.bind.annotation.XmlTransient; |
|---|
| 22 | import javax.xml.bind.annotation.XmlType; |
|---|
| 23 | import com.sun.xml.bind.Locatable; |
|---|
| 24 | import com.sun.xml.bind.annotation.XmlLocation; |
|---|
| 25 | import org.jvnet.jaxb2_commons.ppp.Child; |
|---|
| 26 | import org.xml.sax.Locator; |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | /** |
|---|
| 30 | * <p>Java class for r element declaration. |
|---|
| 31 | * |
|---|
| 32 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 33 | * |
|---|
| 34 | * <pre> |
|---|
| 35 | * <element name="r"> |
|---|
| 36 | * <complexType> |
|---|
| 37 | * <complexContent> |
|---|
| 38 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|---|
| 39 | * <sequence> |
|---|
| 40 | * <element ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}rPr" minOccurs="0"/> |
|---|
| 41 | * <group ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}EG_RunInnerContent" maxOccurs="unbounded" minOccurs="0"/> |
|---|
| 42 | * </sequence> |
|---|
| 43 | * </restriction> |
|---|
| 44 | * </complexContent> |
|---|
| 45 | * </complexType> |
|---|
| 46 | * </element> |
|---|
| 47 | * </pre> |
|---|
| 48 | * |
|---|
| 49 | * |
|---|
| 50 | */ |
|---|
| 51 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 52 | @XmlType(name = "", propOrder = { |
|---|
| 53 | "rPr", |
|---|
| 54 | "runContent" |
|---|
| 55 | }) |
|---|
| 56 | @XmlRootElement(name = "r") |
|---|
| 57 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 58 | public class R implements Locatable, Child |
|---|
| 59 | { |
|---|
| 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 RPr rPr; |
|---|
| 63 | @XmlElementRefs({ |
|---|
| 64 | @XmlElementRef(name = "br", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = Br.class), |
|---|
| 65 | @XmlElementRef(name = "cr", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = Cr.class), |
|---|
| 66 | @XmlElementRef(name = "t", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 67 | @XmlElementRef(name = "noBreakHyphen", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = NoBreakHyphen.class), |
|---|
| 68 | @XmlElementRef(name = "softHyphen", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = SoftHyphen.class), |
|---|
| 69 | @XmlElementRef(name = "delInstrText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 70 | @XmlElementRef(name = "delText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class), |
|---|
| 71 | @XmlElementRef(name = "instrText", namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", type = JAXBElement.class) |
|---|
| 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 | protected List<Object> runContent; |
|---|
| 75 | @XmlTransient |
|---|
| 76 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 77 | private Object parent; |
|---|
| 78 | @XmlLocation |
|---|
| 79 | @XmlTransient |
|---|
| 80 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 81 | protected Locator locator; |
|---|
| 82 | |
|---|
| 83 | /** |
|---|
| 84 | * Gets the value of the rPr property. |
|---|
| 85 | * |
|---|
| 86 | * @return |
|---|
| 87 | * possible object is |
|---|
| 88 | * {@link RPr } |
|---|
| 89 | * |
|---|
| 90 | */ |
|---|
| 91 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 92 | public RPr getRPr() { |
|---|
| 93 | return rPr; |
|---|
| 94 | } |
|---|
| 95 | |
|---|
| 96 | /** |
|---|
| 97 | * Sets the value of the rPr property. |
|---|
| 98 | * |
|---|
| 99 | * @param value |
|---|
| 100 | * allowed object is |
|---|
| 101 | * {@link RPr } |
|---|
| 102 | * |
|---|
| 103 | */ |
|---|
| 104 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 105 | public void setRPr(RPr value) { |
|---|
| 106 | this.rPr = value; |
|---|
| 107 | } |
|---|
| 108 | |
|---|
| 109 | /** |
|---|
| 110 | * Gets the value of the runContent property. |
|---|
| 111 | * |
|---|
| 112 | * <p> |
|---|
| 113 | * This accessor method returns a reference to the live list, |
|---|
| 114 | * not a snapshot. Therefore any modification you make to the |
|---|
| 115 | * returned list will be present inside the JAXB object. |
|---|
| 116 | * This is why there is not a <CODE>set</CODE> method for the runContent property. |
|---|
| 117 | * |
|---|
| 118 | * <p> |
|---|
| 119 | * For example, to add a new item, do as follows: |
|---|
| 120 | * <pre> |
|---|
| 121 | * getRunContent().add(newItem); |
|---|
| 122 | * </pre> |
|---|
| 123 | * |
|---|
| 124 | * |
|---|
| 125 | * <p> |
|---|
| 126 | * Objects of the following type(s) are allowed in the list |
|---|
| 127 | * {@link Br } |
|---|
| 128 | * {@link Cr } |
|---|
| 129 | * {@link JAXBElement }{@code <}{@link Text }{@code >} |
|---|
| 130 | * {@link NoBreakHyphen } |
|---|
| 131 | * {@link SoftHyphen } |
|---|
| 132 | * {@link JAXBElement }{@code <}{@link Text }{@code >} |
|---|
| 133 | * {@link JAXBElement }{@code <}{@link Text }{@code >} |
|---|
| 134 | * {@link JAXBElement }{@code <}{@link Text }{@code >} |
|---|
| 135 | * |
|---|
| 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 List<Object> getRunContent() { |
|---|
| 140 | if (runContent == null) { |
|---|
| 141 | runContent = new ArrayList<Object>(); |
|---|
| 142 | } |
|---|
| 143 | return this.runContent; |
|---|
| 144 | } |
|---|
| 145 | |
|---|
| 146 | /** |
|---|
| 147 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 148 | * |
|---|
| 149 | * @return |
|---|
| 150 | * The parent object. |
|---|
| 151 | */ |
|---|
| 152 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 153 | public Object getParent() { |
|---|
| 154 | return this.parent; |
|---|
| 155 | } |
|---|
| 156 | |
|---|
| 157 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 158 | public void setParent(Object parent) { |
|---|
| 159 | this.parent = parent; |
|---|
| 160 | } |
|---|
| 161 | |
|---|
| 162 | /** |
|---|
| 163 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 164 | * |
|---|
| 165 | * @param parent |
|---|
| 166 | * The parent object in the object tree. |
|---|
| 167 | * @param unmarshaller |
|---|
| 168 | * The unmarshaller that generated the instance. |
|---|
| 169 | */ |
|---|
| 170 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 171 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 172 | setParent(parent); |
|---|
| 173 | } |
|---|
| 174 | |
|---|
| 175 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 176 | public Locator sourceLocation() { |
|---|
| 177 | return locator; |
|---|
| 178 | } |
|---|
| 179 | |
|---|
| 180 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 181 | public void setSourceLocation(Locator newLocator) { |
|---|
| 182 | locator = newLocator; |
|---|
| 183 | } |
|---|
| 184 | |
|---|
| 185 | } |
|---|