public class MimeMapping extends WebXmlElement
| Constructor and Description |
|---|
MimeMapping(WebXmlTag tag)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Get the Extension.
|
String |
getMimeType()
Get the mime type.
|
void |
setExtension(String extension)
Set the Extension.
|
void |
setMimeType(String mimeType)
Set the mime type.
|
childgetTag, setTagaddContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toStringdetach, equals, getDocument, getParent, getParentElement, hashCode, setParentpublic MimeMapping(WebXmlTag tag)
tag - Web Xml Tag definitionpublic String getExtension()
public void setExtension(String extension)
extension - The Extensionpublic String getMimeType()
public void setMimeType(String mimeType)
mimeType - The mime typeCopyright © 2004-2013 Codehaus. All Rights Reserved.