source: trunk/docx4j/src/main/java/org/docx4j/openpackaging/contenttype/CTDefault.java @ 1004

Revision 1004, 2.7 KB checked in by jharrop, 2 years ago (diff)

Remove dom4j stuff

Line 
1/*
2 *  Copyright 2010, 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
21package org.docx4j.openpackaging.contenttype;
22
23import javax.xml.bind.annotation.XmlAccessType;
24import javax.xml.bind.annotation.XmlAccessorType;
25import javax.xml.bind.annotation.XmlAttribute;
26import javax.xml.bind.annotation.XmlType;
27
28
29/**
30 * <p>Java class for CT_Default complex type.
31 *
32 * <p>The following schema fragment specifies the expected content contained within this class.
33 *
34 * <pre>
35 * &lt;complexType name="CT_Default">
36 *   &lt;complexContent>
37 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
38 *       &lt;attribute name="Extension" use="required" type="{http://schemas.openxmlformats.org/package/2006/content-types}ST_Extension" />
39 *       &lt;attribute name="ContentType" use="required" type="{http://schemas.openxmlformats.org/package/2006/content-types}ST_ContentType" />
40 *     &lt;/restriction>
41 *   &lt;/complexContent>
42 * &lt;/complexType>
43 * </pre>
44 *
45 *
46 */
47@XmlAccessorType(XmlAccessType.FIELD)
48@XmlType(name = "CT_Default")
49public class CTDefault {
50
51    @XmlAttribute(name = "Extension", required = true)
52    protected String extension;
53    @XmlAttribute(name = "ContentType", required = true)
54    protected String contentType;
55
56    /**
57     * Gets the value of the extension property.
58     *
59     * @return
60     *     possible object is
61     *     {@link String }
62     *     
63     */
64    public String getExtension() {
65        return extension;
66    }
67
68    /**
69     * Sets the value of the extension property.
70     *
71     * @param value
72     *     allowed object is
73     *     {@link String }
74     *     
75     */
76    public void setExtension(String value) {
77        this.extension = value;
78    }
79
80    /**
81     * Gets the value of the contentType property.
82     *
83     * @return
84     *     possible object is
85     *     {@link String }
86     *     
87     */
88    public String getContentType() {
89        return contentType;
90    }
91
92    /**
93     * Sets the value of the contentType property.
94     *
95     * @param value
96     *     allowed object is
97     *     {@link String }
98     *     
99     */
100    public void setContentType(String value) {
101        this.contentType = value;
102    }
103
104}
Note: See TracBrowser for help on using the repository browser.