source: trunk/docx4j/src/main/java/org/docx4j/dml/CTHyperlink.java @ 1041

Revision 1041, 8.3 KB checked in by jharrop, 2 years ago (diff)

More complete DML, generated from TC45 1.0 final, using dmlROOT.xsd

Line 
1/*
2 *  Copyright 2007-2008, Plutext Pty Ltd.
3 *   
4 *  This file is part of docx4j.
5
6    docx4j is licensed under the Apache License, Version 2.0 (the "License");
7    you may not use this file except in compliance with the License.
8
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18
19 */
20
21
22package org.docx4j.dml;
23
24import javax.xml.bind.annotation.XmlAccessType;
25import javax.xml.bind.annotation.XmlAccessorType;
26import javax.xml.bind.annotation.XmlAttribute;
27import javax.xml.bind.annotation.XmlType;
28
29
30/**
31 * <p>Java class for CT_Hyperlink complex type.
32 *
33 * <p>The following schema fragment specifies the expected content contained within this class.
34 *
35 * <pre>
36 * &lt;complexType name="CT_Hyperlink">
37 *   &lt;complexContent>
38 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39 *       &lt;sequence>
40 *         &lt;element name="snd" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_EmbeddedWAVAudioFile" minOccurs="0"/>
41 *         &lt;element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
42 *       &lt;/sequence>
43 *       &lt;attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
44 *       &lt;attribute name="invalidUrl" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
45 *       &lt;attribute name="action" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
46 *       &lt;attribute name="tgtFrame" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
47 *       &lt;attribute name="tooltip" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
48 *       &lt;attribute name="history" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
49 *       &lt;attribute name="highlightClick" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
50 *       &lt;attribute name="endSnd" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
51 *     &lt;/restriction>
52 *   &lt;/complexContent>
53 * &lt;/complexType>
54 * </pre>
55 *
56 *
57 */
58@XmlAccessorType(XmlAccessType.FIELD)
59@XmlType(name = "CT_Hyperlink", propOrder = {
60    "snd",
61    "extLst"
62})
63public class CTHyperlink {
64
65    protected CTEmbeddedWAVAudioFile snd;
66    protected CTOfficeArtExtensionList extLst;
67    @XmlAttribute(namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
68    protected String id;
69    @XmlAttribute
70    protected String invalidUrl;
71    @XmlAttribute
72    protected String action;
73    @XmlAttribute
74    protected String tgtFrame;
75    @XmlAttribute
76    protected String tooltip;
77    @XmlAttribute
78    protected Boolean history;
79    @XmlAttribute
80    protected Boolean highlightClick;
81    @XmlAttribute
82    protected Boolean endSnd;
83
84    /**
85     * Gets the value of the snd property.
86     *
87     * @return
88     *     possible object is
89     *     {@link CTEmbeddedWAVAudioFile }
90     *     
91     */
92    public CTEmbeddedWAVAudioFile getSnd() {
93        return snd;
94    }
95
96    /**
97     * Sets the value of the snd property.
98     *
99     * @param value
100     *     allowed object is
101     *     {@link CTEmbeddedWAVAudioFile }
102     *     
103     */
104    public void setSnd(CTEmbeddedWAVAudioFile value) {
105        this.snd = value;
106    }
107
108    /**
109     * Gets the value of the extLst property.
110     *
111     * @return
112     *     possible object is
113     *     {@link CTOfficeArtExtensionList }
114     *     
115     */
116    public CTOfficeArtExtensionList getExtLst() {
117        return extLst;
118    }
119
120    /**
121     * Sets the value of the extLst property.
122     *
123     * @param value
124     *     allowed object is
125     *     {@link CTOfficeArtExtensionList }
126     *     
127     */
128    public void setExtLst(CTOfficeArtExtensionList value) {
129        this.extLst = value;
130    }
131
132    /**
133     * Drawing Object Hyperlink Target
134     *
135     * @return
136     *     possible object is
137     *     {@link String }
138     *     
139     */
140    public String getId() {
141        return id;
142    }
143
144    /**
145     * Sets the value of the id property.
146     *
147     * @param value
148     *     allowed object is
149     *     {@link String }
150     *     
151     */
152    public void setId(String value) {
153        this.id = value;
154    }
155
156    /**
157     * Gets the value of the invalidUrl property.
158     *
159     * @return
160     *     possible object is
161     *     {@link String }
162     *     
163     */
164    public String getInvalidUrl() {
165        if (invalidUrl == null) {
166            return "";
167        } else {
168            return invalidUrl;
169        }
170    }
171
172    /**
173     * Sets the value of the invalidUrl property.
174     *
175     * @param value
176     *     allowed object is
177     *     {@link String }
178     *     
179     */
180    public void setInvalidUrl(String value) {
181        this.invalidUrl = value;
182    }
183
184    /**
185     * Gets the value of the action property.
186     *
187     * @return
188     *     possible object is
189     *     {@link String }
190     *     
191     */
192    public String getAction() {
193        if (action == null) {
194            return "";
195        } else {
196            return action;
197        }
198    }
199
200    /**
201     * Sets the value of the action property.
202     *
203     * @param value
204     *     allowed object is
205     *     {@link String }
206     *     
207     */
208    public void setAction(String value) {
209        this.action = value;
210    }
211
212    /**
213     * Gets the value of the tgtFrame property.
214     *
215     * @return
216     *     possible object is
217     *     {@link String }
218     *     
219     */
220    public String getTgtFrame() {
221        if (tgtFrame == null) {
222            return "";
223        } else {
224            return tgtFrame;
225        }
226    }
227
228    /**
229     * Sets the value of the tgtFrame property.
230     *
231     * @param value
232     *     allowed object is
233     *     {@link String }
234     *     
235     */
236    public void setTgtFrame(String value) {
237        this.tgtFrame = value;
238    }
239
240    /**
241     * Gets the value of the tooltip property.
242     *
243     * @return
244     *     possible object is
245     *     {@link String }
246     *     
247     */
248    public String getTooltip() {
249        if (tooltip == null) {
250            return "";
251        } else {
252            return tooltip;
253        }
254    }
255
256    /**
257     * Sets the value of the tooltip property.
258     *
259     * @param value
260     *     allowed object is
261     *     {@link String }
262     *     
263     */
264    public void setTooltip(String value) {
265        this.tooltip = value;
266    }
267
268    /**
269     * Gets the value of the history property.
270     *
271     * @return
272     *     possible object is
273     *     {@link Boolean }
274     *     
275     */
276    public boolean isHistory() {
277        if (history == null) {
278            return true;
279        } else {
280            return history;
281        }
282    }
283
284    /**
285     * Sets the value of the history property.
286     *
287     * @param value
288     *     allowed object is
289     *     {@link Boolean }
290     *     
291     */
292    public void setHistory(Boolean value) {
293        this.history = value;
294    }
295
296    /**
297     * Gets the value of the highlightClick property.
298     *
299     * @return
300     *     possible object is
301     *     {@link Boolean }
302     *     
303     */
304    public boolean isHighlightClick() {
305        if (highlightClick == null) {
306            return false;
307        } else {
308            return highlightClick;
309        }
310    }
311
312    /**
313     * Sets the value of the highlightClick property.
314     *
315     * @param value
316     *     allowed object is
317     *     {@link Boolean }
318     *     
319     */
320    public void setHighlightClick(Boolean value) {
321        this.highlightClick = value;
322    }
323
324    /**
325     * Gets the value of the endSnd property.
326     *
327     * @return
328     *     possible object is
329     *     {@link Boolean }
330     *     
331     */
332    public boolean isEndSnd() {
333        if (endSnd == null) {
334            return false;
335        } else {
336            return endSnd;
337        }
338    }
339
340    /**
341     * Sets the value of the endSnd property.
342     *
343     * @param value
344     *     allowed object is
345     *     {@link Boolean }
346     *     
347     */
348    public void setEndSnd(Boolean value) {
349        this.endSnd = value;
350    }
351
352}
Note: See TracBrowser for help on using the repository browser.