public class MimeMapping
extends java.lang.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 java.lang.String |
extension |
protected java.lang.String |
id |
protected java.lang.String |
mimeType |
Constructor and Description |
---|
MimeMapping() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExtension() |
java.lang.String |
getId() |
java.lang.String |
getMimeType() |
void |
setExtension(java.lang.String value) |
void |
setId(java.lang.String value) |
void |
setMimeType(java.lang.String value) |
protected java.lang.String extension
protected java.lang.String mimeType
protected java.lang.String id
public java.lang.String getExtension()
public void setExtension(java.lang.String value)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String value)
public java.lang.String getId()
public void setId(java.lang.String value)