public class MimeMappingType
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 String |
extension |
protected java.lang.String |
id |
protected MimeTypeType |
mimeType |
| Constructor and Description |
|---|
MimeMappingType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Gets the value of the extension property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
MimeTypeType |
getMimeType()
Gets the value of the mimeType property.
|
void |
setExtension(String value)
Sets the value of the extension property.
|
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setMimeType(MimeTypeType value)
Sets the value of the mimeType property.
|
protected String extension
protected MimeTypeType mimeType
protected java.lang.String id
public String getExtension()
Stringpublic void setExtension(String value)
value - allowed object is
Stringpublic MimeTypeType getMimeType()
MimeTypeTypepublic void setMimeType(MimeTypeType value)
value - allowed object is
MimeTypeTypepublic java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is
String