public interface MimeMappingType<T> extends Child<T>, JavaeeMimeMappingCommonType<T,MimeMappingType<T>>
mime-mappingType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
MimeMappingType<T> extension(String extension)
extension
elementextension
- the value for the element extension
MimeMappingType
String getExtension()
extension
elementextension
MimeMappingType<T> removeExtension()
extension
elementMimeMappingType
MimeMappingType<T> mimeType(String mimeType)
mime-type
elementmimeType
- the value for the element mime-type
MimeMappingType
String getMimeType()
mime-type
elementmime-type
MimeMappingType<T> removeMimeType()
mime-type
elementMimeMappingType
MimeMappingType<T> id(String id)
id
attributeid
- the value for the attribute id
MimeMappingType
String getId()
id
attributeid
MimeMappingType<T> removeId()
id
attributeMimeMappingType
Copyright © 2016 JBoss by Red Hat. All rights reserved.