|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.http.webxml.schema.version_3_0.MimeMappingType
public class MimeMappingType
The mime-mappingType defines a mapping between an extension and a mime type. Used in: web-app
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>
Field Summary | |
---|---|
protected String |
extension
|
protected String |
id
|
protected MimeTypeType |
mimeType
|
Constructor Summary | |
---|---|
MimeMappingType()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String extension
protected MimeTypeType mimeType
protected String id
Constructor Detail |
---|
public MimeMappingType()
Method Detail |
---|
public String getExtension()
String
public void setExtension(String value)
value
- allowed object is
String
public MimeTypeType getMimeType()
MimeTypeType
public void setMimeType(MimeTypeType value)
value
- allowed object is
MimeTypeType
public String getId()
String
public void setId(String value)
value
- allowed object is
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |