public class MimeMapping extends Object
Java class for mime-mappingType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="mime-mappingType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="extension" type="{http://java.sun.com/xml/ns/javaee}string"/>
<element name="mime-type" type="{http://java.sun.com/xml/ns/javaee}mime-typeType"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
extension |
protected String |
id |
protected String |
mimeType |
| Constructor and Description |
|---|
MimeMapping() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension() |
String |
getId() |
String |
getMimeType() |
void |
setExtension(String value) |
void |
setId(String value) |
void |
setMimeType(String value) |
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.