| 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.17 at 02:57:16 PM GMT+10:00 |
|---|
| 6 | // |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | package org.docx4j.jaxb.document; |
|---|
| 10 | |
|---|
| 11 | import javax.annotation.Generated; |
|---|
| 12 | import javax.xml.bind.Unmarshaller; |
|---|
| 13 | import javax.xml.bind.annotation.XmlAccessType; |
|---|
| 14 | import javax.xml.bind.annotation.XmlAccessorType; |
|---|
| 15 | import javax.xml.bind.annotation.XmlRootElement; |
|---|
| 16 | import javax.xml.bind.annotation.XmlTransient; |
|---|
| 17 | import javax.xml.bind.annotation.XmlType; |
|---|
| 18 | import javax.xml.bind.annotation.XmlValue; |
|---|
| 19 | import com.sun.xml.bind.Locatable; |
|---|
| 20 | import com.sun.xml.bind.annotation.XmlLocation; |
|---|
| 21 | import org.jvnet.jaxb2_commons.ppp.Child; |
|---|
| 22 | import org.xml.sax.Locator; |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | /** |
|---|
| 26 | * <p>Java class for CT_Text complex type. |
|---|
| 27 | * |
|---|
| 28 | * <p>The following schema fragment specifies the expected content contained within this class. |
|---|
| 29 | * |
|---|
| 30 | * <pre> |
|---|
| 31 | * <complexType name="CT_Text"> |
|---|
| 32 | * <simpleContent> |
|---|
| 33 | * <extension base="<http://schemas.openxmlformats.org/wordprocessingml/2006/main>ST_String"> |
|---|
| 34 | * </extension> |
|---|
| 35 | * </simpleContent> |
|---|
| 36 | * </complexType> |
|---|
| 37 | * </pre> |
|---|
| 38 | * |
|---|
| 39 | * |
|---|
| 40 | */ |
|---|
| 41 | @XmlAccessorType(XmlAccessType.FIELD) |
|---|
| 42 | @XmlType(name = "CT_Text", propOrder = { |
|---|
| 43 | "value" |
|---|
| 44 | }) |
|---|
| 45 | @XmlRootElement(name = "t") |
|---|
| 46 | //@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 47 | public class Text |
|---|
| 48 | implements Locatable, Child |
|---|
| 49 | { |
|---|
| 50 | |
|---|
| 51 | @XmlValue |
|---|
| 52 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 53 | protected String value; |
|---|
| 54 | @XmlTransient |
|---|
| 55 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 56 | private Object parent; |
|---|
| 57 | @XmlLocation |
|---|
| 58 | @XmlTransient |
|---|
| 59 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 60 | protected Locator locator; |
|---|
| 61 | |
|---|
| 62 | /** |
|---|
| 63 | * String |
|---|
| 64 | * |
|---|
| 65 | * @return |
|---|
| 66 | * possible object is |
|---|
| 67 | * {@link String } |
|---|
| 68 | * |
|---|
| 69 | */ |
|---|
| 70 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 71 | public String getValue() { |
|---|
| 72 | return value; |
|---|
| 73 | } |
|---|
| 74 | |
|---|
| 75 | /** |
|---|
| 76 | * Sets the value of the value property. |
|---|
| 77 | * |
|---|
| 78 | * @param value |
|---|
| 79 | * allowed object is |
|---|
| 80 | * {@link String } |
|---|
| 81 | * |
|---|
| 82 | */ |
|---|
| 83 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 84 | public void setValue(String value) { |
|---|
| 85 | this.value = value; |
|---|
| 86 | } |
|---|
| 87 | |
|---|
| 88 | /** |
|---|
| 89 | * Gets the parent object in the object tree representing the unmarshalled xml document. |
|---|
| 90 | * |
|---|
| 91 | * @return |
|---|
| 92 | * The parent object. |
|---|
| 93 | */ |
|---|
| 94 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 95 | public Object getParent() { |
|---|
| 96 | return this.parent; |
|---|
| 97 | } |
|---|
| 98 | |
|---|
| 99 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 100 | public void setParent(Object parent) { |
|---|
| 101 | this.parent = parent; |
|---|
| 102 | } |
|---|
| 103 | |
|---|
| 104 | /** |
|---|
| 105 | * This method is invoked by the JAXB implementation on each instance when unmarshalling completes. |
|---|
| 106 | * |
|---|
| 107 | * @param parent |
|---|
| 108 | * The parent object in the object tree. |
|---|
| 109 | * @param unmarshaller |
|---|
| 110 | * The unmarshaller that generated the instance. |
|---|
| 111 | */ |
|---|
| 112 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 113 | public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) { |
|---|
| 114 | setParent(parent); |
|---|
| 115 | } |
|---|
| 116 | |
|---|
| 117 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 118 | public Locator sourceLocation() { |
|---|
| 119 | return locator; |
|---|
| 120 | } |
|---|
| 121 | |
|---|
| 122 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-17T02:57:16+10:00", comments = "JAXB RI v2.1.5-b01-fcs") |
|---|
| 123 | public void setSourceLocation(Locator newLocator) { |
|---|
| 124 | locator = newLocator; |
|---|
| 125 | } |
|---|
| 126 | |
|---|
| 127 | } |
|---|