ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface MimeMappingType<T>

All Superinterfaces:
Child<T>

public interface MimeMappingType<T>
extends Child<T>

This interface defines the contract for the mime-mappingType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 MimeMappingType<T> extension(String extension)
          Sets the extension element
 String getExtension()
          Returns the extension element
 String getMimeType()
          Returns the mime-type element
 MimeMappingType<T> mimeType(String mimeType)
          Sets the mime-type element
 MimeMappingType<T> removeExtension()
          Removes the extension element
 MimeMappingType<T> removeMimeType()
          Removes the mime-type element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

extension

MimeMappingType<T> extension(String extension)
Sets the extension element

Parameters:
extension - the value for the element extension
Returns:
the current instance of MimeMappingType

getExtension

String getExtension()
Returns the extension element

Returns:
the node defined for the element extension

removeExtension

MimeMappingType<T> removeExtension()
Removes the extension element

Returns:
the current instance of MimeMappingType

mimeType

MimeMappingType<T> mimeType(String mimeType)
Sets the mime-type element

Parameters:
mimeType - the value for the element mime-type
Returns:
the current instance of MimeMappingType

getMimeType

String getMimeType()
Returns the mime-type element

Returns:
the node defined for the element mime-type

removeMimeType

MimeMappingType<T> removeMimeType()
Removes the mime-type element

Returns:
the current instance of MimeMappingType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.