source: branches/jaxb/target/generated-sources/org/docx4j/jaxb/document/Highlight.java @ 43

Revision 43, 4.4 KB checked in by jharrop, 4 years ago (diff)

Use BooleanDefaultTrue? for schema elements which do default to true, but which had ST_OnOff.

Line 
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
9package org.docx4j.jaxb.document;
10
11import javax.annotation.Generated;
12import javax.xml.bind.Unmarshaller;
13import javax.xml.bind.annotation.XmlAccessType;
14import javax.xml.bind.annotation.XmlAccessorType;
15import javax.xml.bind.annotation.XmlAttribute;
16import javax.xml.bind.annotation.XmlTransient;
17import javax.xml.bind.annotation.XmlType;
18import com.sun.xml.bind.Locatable;
19import com.sun.xml.bind.annotation.XmlLocation;
20import org.jvnet.jaxb2_commons.ppp.Child;
21import org.xml.sax.Locator;
22
23
24/**
25 * <p>Java class for Highlight complex type.
26 *
27 * <p>The following schema fragment specifies the expected content contained within this class.
28 *
29 * <pre>
30 * &lt;complexType name="Highlight">
31 *   &lt;complexContent>
32 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33 *       &lt;attribute name="val" use="required" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_HighlightColor" />
34 *     &lt;/restriction>
35 *   &lt;/complexContent>
36 * &lt;/complexType>
37 * </pre>
38 *
39 *
40 */
41@XmlAccessorType(XmlAccessType.FIELD)
42@XmlType(name = "Highlight")
43@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
44public class Highlight
45    implements Locatable, Child
46{
47
48    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
49    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
50    protected STHighlightColor val;
51    @XmlTransient
52    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
53    private Object parent;
54    @XmlLocation
55    @XmlTransient
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 Locator locator;
58
59    /**
60     * Gets the value of the val property.
61     *
62     * @return
63     *     possible object is
64     *     {@link STHighlightColor }
65     *     
66     */
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    public STHighlightColor getVal() {
69        return val;
70    }
71
72    /**
73     * Sets the value of the val property.
74     *
75     * @param value
76     *     allowed object is
77     *     {@link STHighlightColor }
78     *     
79     */
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    public void setVal(STHighlightColor value) {
82        this.val = value;
83    }
84
85    /**
86     * Gets the parent object in the object tree representing the unmarshalled xml document.
87     *
88     * @return
89     *     The parent object.
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 Object getParent() {
93        return this.parent;
94    }
95
96    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
97    public void setParent(Object parent) {
98        this.parent = parent;
99    }
100
101    /**
102     * This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
103     *
104     * @param parent
105     *     The parent object in the object tree.
106     * @param unmarshaller
107     *     The unmarshaller that generated the instance.
108     */
109    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
110    public void afterUnmarshal(Unmarshaller unmarshaller, Object parent) {
111        setParent(parent);
112    }
113
114    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
115    public Locator sourceLocation() {
116        return locator;
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 void setSourceLocation(Locator newLocator) {
121        locator = newLocator;
122    }
123
124}
Note: See TracBrowser for help on using the repository browser.