source: branches/jaxb/target/generated-sources/org/docx4j/jaxb/document/Lock.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.XmlRootElement;
17import javax.xml.bind.annotation.XmlSchemaType;
18import javax.xml.bind.annotation.XmlTransient;
19import javax.xml.bind.annotation.XmlType;
20import com.sun.xml.bind.Locatable;
21import com.sun.xml.bind.annotation.XmlLocation;
22import org.jvnet.jaxb2_commons.ppp.Child;
23import org.xml.sax.Locator;
24
25
26/**
27 * <p>Java class for anonymous complex type.
28 *
29 * <p>The following schema fragment specifies the expected content contained within this class.
30 *
31 * <pre>
32 * &lt;complexType>
33 *   &lt;complexContent>
34 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
35 *       &lt;attGroup ref="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}CT_Lock"/>
36 *     &lt;/restriction>
37 *   &lt;/complexContent>
38 * &lt;/complexType>
39 * </pre>
40 *
41 *
42 */
43@XmlAccessorType(XmlAccessType.FIELD)
44@XmlType(name = "")
45@XmlRootElement(name = "lock")
46@Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
47public class Lock implements Locatable, Child
48{
49
50    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/wordprocessingml/2006/main", required = true)
51    @XmlSchemaType(name = "anySimpleType")
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    protected String val;
54    @XmlTransient
55    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+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-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
60    protected Locator locator;
61
62    /**
63     * Gets the value of the val property.
64     *
65     * @return
66     *     possible object is
67     *     {@link String }
68     *     
69     */
70    @Generated(value = "com.sun.tools.xjc.Driver", date = "2007-12-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
71    public String getVal() {
72        return val;
73    }
74
75    /**
76     * Sets the value of the val 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-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
84    public void setVal(String value) {
85        this.val = 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-19T02:20:48+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-19T02:20:48+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-19T02:20:48+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-19T02:20:48+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-19T02:20:48+10:00", comments = "JAXB RI v2.1.5-b01-fcs")
123    public void setSourceLocation(Locator newLocator) {
124        locator = newLocator;
125    }
126
127}
Note: See TracBrowser for help on using the repository browser.