|
||||||||||
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
Method Summary | |
---|---|
MimeMappingType<T> |
extension(String extension)
Sets the extension element |
String |
getExtension()
Returns the extension element |
String |
getId()
Returns the id attribute |
String |
getMimeType()
Returns the mime-type element |
MimeMappingType<T> |
id(String id)
Sets the id attribute |
MimeMappingType<T> |
mimeType(String mimeType)
Sets the mime-type element |
MimeMappingType<T> |
removeExtension()
Removes the extension element |
MimeMappingType<T> |
removeId()
Removes the id attribute |
MimeMappingType<T> |
removeMimeType()
Removes the mime-type element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
MimeMappingType<T> extension(String extension)
extension
element
extension
- the value for the element extension
MimeMappingType
String getExtension()
extension
element
extension
MimeMappingType<T> removeExtension()
extension
element
MimeMappingType
MimeMappingType<T> mimeType(String mimeType)
mime-type
element
mimeType
- the value for the element mime-type
MimeMappingType
String getMimeType()
mime-type
element
mime-type
MimeMappingType<T> removeMimeType()
mime-type
element
MimeMappingType
MimeMappingType<T> id(String id)
id
attribute
id
- the value for the attribute id
MimeMappingType
String getId()
id
attribute
id
MimeMappingType<T> removeId()
id
attribute
MimeMappingType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |