org.jboss.shrinkwrap.descriptor.api.webapp25.MimeMappingType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
package org.jboss.shrinkwrap.descriptor.api.webapp25;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.webapp.*;
import org.jboss.shrinkwrap.descriptor.api.webapp.JavaeeMimeMappingCommonType;
/**
* This interface defines the contract for the mime-mappingType
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
* @author George Gastaldi
*/
public interface MimeMappingType extends Child,
JavaeeMimeMappingCommonType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: MimeMappingType ElementName: xsd:token ElementType : extension
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the extension
element
* @param extension the value for the element extension
* @return the current instance of MimeMappingType
*/
public MimeMappingType extension(String extension);
/**
* Returns the extension
element
* @return the node defined for the element extension
*/
public String getExtension();
/**
* Removes the extension
element
* @return the current instance of MimeMappingType
*/
public MimeMappingType removeExtension();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MimeMappingType ElementName: javaee:string ElementType : mime-type
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the mime-type
element
* @param mimeType the value for the element mime-type
* @return the current instance of MimeMappingType
*/
public MimeMappingType mimeType(String mimeType);
/**
* Returns the mime-type
element
* @return the node defined for the element mime-type
*/
public String getMimeType();
/**
* Removes the mime-type
element
* @return the current instance of MimeMappingType
*/
public MimeMappingType removeMimeType();
// --------------------------------------------------------------------------------------------------------||
// ClassName: MimeMappingType ElementName: xsd:ID ElementType : id
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the id
attribute
* @param id the value for the attribute id
* @return the current instance of MimeMappingType
*/
public MimeMappingType id(String id);
/**
* Returns the id
attribute
* @return the value defined for the attribute id
*/
public String getId();
/**
* Removes the id
attribute
* @return the current instance of MimeMappingType
*/
public MimeMappingType removeId();
}