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 :2013-01-26T19:26:59.858+01: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 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

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

id

MimeMappingType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of MimeMappingType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

MimeMappingType<T> removeId()
Removes the id attribute

Returns:
the current instance of MimeMappingType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.