org.eclipse.jst.j2ee.webapplication
Interface MimeMapping
- All Superinterfaces:
- J2EEEObject
- public interface MimeMapping
- extends J2EEEObject
The mime-mapping element defines a mapping between an extension and a mime type.
- Since:
- 1.0
getExtension
public java.lang.String getExtension()
- Returns:
- The value of the Extension attribute
The extension element contains a string describing an extension. example: "txt"
setExtension
public void setExtension(java.lang.String value)
- Parameters:
value
- The new value of the Extension attribute
getMimeType
public java.lang.String getMimeType()
- Returns:
- The value of the MimeType attribute
The mime-type element contains a defined mime type. example: "text//plain"
setMimeType
public void setMimeType(java.lang.String value)
- Parameters:
value
- The new value of the MimeType attribute
getWebApp
public WebApp getWebApp()
- Returns:
- The WebApp reference
setWebApp
public void setWebApp(WebApp value)
- Parameters:
value
- The new value of the WebApp reference