org.apache.wicket.markup
Class MarkupType

java.lang.Object
  extended by org.apache.wicket.markup.MarkupType
All Implemented Interfaces:
Serializable

public class MarkupType
extends Object
implements Serializable

Author:
Juergen Donnerstag
See Also:
Serialized Form

Field Summary
static MarkupType HTML_MARKUP_TYPE
          A HTML markup type for web pages
 
Constructor Summary
MarkupType(String extension, String mimeType)
          Construct.
 
Method Summary
 String getExtension()
          Gets extension.
 String getMimeType()
          Gets mimeType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTML_MARKUP_TYPE

public static final MarkupType HTML_MARKUP_TYPE
A HTML markup type for web pages

Constructor Detail

MarkupType

public MarkupType(String extension,
                  String mimeType)
Construct.

Parameters:
extension - associate markup file extension. "html" by default.
mimeType -
Method Detail

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.