org.apache.wicket.markup
Class MarkupType
java.lang.Object
org.apache.wicket.markup.MarkupType
- All Implemented Interfaces:
- Serializable
public class MarkupType
- extends Object
- implements Serializable
- Author:
- Juergen Donnerstag
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTML_MARKUP_TYPE
public static final MarkupType HTML_MARKUP_TYPE
- A HTML markup type for web pages
MarkupType
public MarkupType(String extension,
String mimeType)
- Construct.
- Parameters:
extension
- associate markup file extension. "html" by default.mimeType
-
getExtension
public final String getExtension()
- Gets extension.
- Returns:
- extension
getMimeType
public final String getMimeType()
- Gets mimeType.
- Returns:
- mimeType
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.