org.eclipse.jst.j2ee.webapplication
Interface MimeMapping

All Superinterfaces:
org.eclipse.emf.ecore.EObject, J2EEEObject, org.eclipse.emf.common.notify.Notifier

public interface MimeMapping
extends J2EEEObject

The mime-mapping element defines a mapping between an extension and a mime type.

Since:
1.0

Method Summary
 java.lang.String getExtension()
           
 java.lang.String getMimeType()
           
 WebApp getWebApp()
           
 void setExtension(java.lang.String value)
           
 void setMimeType(java.lang.String value)
           
 void setWebApp(WebApp value)
           
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getExtension

java.lang.String getExtension()
Returns:
The value of the Extension attribute The extension element contains a string describing an extension. example: "txt"

setExtension

void setExtension(java.lang.String value)
Parameters:
value - The new value of the Extension attribute

getMimeType

java.lang.String getMimeType()
Returns:
The value of the MimeType attribute The mime-type element contains a defined mime type. example: "text//plain"

setMimeType

void setMimeType(java.lang.String value)
Parameters:
value - The new value of the MimeType attribute

getWebApp

WebApp getWebApp()
Returns:
The WebApp reference

setWebApp

void setWebApp(WebApp value)
Parameters:
value - The new value of the WebApp reference