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