source: trunk/docx4j/src/main/java/org/docx4j/dml/CTOfficeArtExtension.java @ 1201

Revision 1201, 2.9 KB checked in by jharrop, 21 months ago (diff)

Additional xlsx parts. Had to regenerate dml/ to include spreadsheet drawing.

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.XmlAnyElement;
27import javax.xml.bind.annotation.XmlAttribute;
28import javax.xml.bind.annotation.XmlSchemaType;
29import javax.xml.bind.annotation.XmlType;
30import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
31import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
32import org.w3c.dom.Element;
33
34
35/**
36 * <p>Java class for CT_OfficeArtExtension complex type.
37 *
38 * <p>The following schema fragment specifies the expected content contained within this class.
39 *
40 * <pre>
41 * &lt;complexType name="CT_OfficeArtExtension">
42 *   &lt;complexContent>
43 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
44 *       &lt;sequence>
45 *         &lt;any processContents='lax'/>
46 *       &lt;/sequence>
47 *       &lt;attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}token" />
48 *     &lt;/restriction>
49 *   &lt;/complexContent>
50 * &lt;/complexType>
51 * </pre>
52 *
53 *
54 */
55@XmlAccessorType(XmlAccessType.FIELD)
56@XmlType(name = "CT_OfficeArtExtension", propOrder = {
57    "any"
58})
59public class CTOfficeArtExtension {
60
61    @XmlAnyElement(lax = true)
62    protected Object any;
63    @XmlAttribute
64    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
65    @XmlSchemaType(name = "token")
66    protected String uri;
67
68    /**
69     * Gets the value of the any property.
70     *
71     * @return
72     *     possible object is
73     *     {@link Object }
74     *     {@link Element }
75     *     
76     */
77    public Object getAny() {
78        return any;
79    }
80
81    /**
82     * Sets the value of the any property.
83     *
84     * @param value
85     *     allowed object is
86     *     {@link Object }
87     *     {@link Element }
88     *     
89     */
90    public void setAny(Object value) {
91        this.any = value;
92    }
93
94    /**
95     * Gets the value of the uri property.
96     *
97     * @return
98     *     possible object is
99     *     {@link String }
100     *     
101     */
102    public String getUri() {
103        return uri;
104    }
105
106    /**
107     * Sets the value of the uri property.
108     *
109     * @param value
110     *     allowed object is
111     *     {@link String }
112     *     
113     */
114    public void setUri(String value) {
115        this.uri = value;
116    }
117
118}
Note: See TracBrowser for help on using the repository browser.