|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MimeMappingType<T>
This interface defines the contract for the mime-mappingType
xsd type
Original Documentation:
The mime-mappingType defines a mapping between an extension
and a mime type.
Used in: web-app
Method Summary | |
---|---|
java.lang.String |
getExtension()
Returns the extension element |
java.lang.String |
getMimeType()
Returns the mime-type element |
MimeMappingType<T> |
removeExtension()
Removes the extension element |
MimeMappingType<T> |
removeMimeType()
Removes the mime-type element |
MimeMappingType<T> |
setExtension(java.lang.String extension)
If not already created, a new extension element with the given value will be created. |
MimeMappingType<T> |
setMimeType(java.lang.String mimeType)
If not already created, a new mime-type element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
MimeMappingType<T> setExtension(java.lang.String extension)
extension
element with the given value will be created.
Otherwise, the existing extension
element will be updated with the given value.
MimeMappingType
MimeMappingType<T> removeExtension()
extension
element
MimeMappingType
java.lang.String getExtension()
extension
element
extension
MimeMappingType<T> setMimeType(java.lang.String mimeType)
mime-type
element with the given value will be created.
Otherwise, the existing mime-type
element will be updated with the given value.
MimeMappingType
MimeMappingType<T> removeMimeType()
mime-type
element
MimeMappingType
java.lang.String getMimeType()
mime-type
element
mime-type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |