public class MimeMappingType 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 MimeTypeType |
mimeType |
| Constructor and Description |
|---|
MimeMappingType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Gets the value of the extension property.
|
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(String value)
Sets the value of the id property.
|
void |
setMimeType(MimeTypeType value)
Sets the value of the mimeType property.
|
MimeMappingType |
withExtension(String value) |
MimeMappingType |
withId(String value) |
MimeMappingType |
withMimeType(MimeTypeType value) |
protected String extension
protected MimeTypeType mimeType
protected 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 void setId(String value)
value - allowed object is
Stringpublic MimeMappingType withExtension(String value)
public MimeMappingType withMimeType(MimeTypeType value)
public MimeMappingType withId(String value)
Copyright © 2019. All rights reserved.