net.sf.jportlet.portlet
Class Portlet.Markup

java.lang.Object
  |
  +--net.sf.jportlet.portlet.Portlet.Markup
Enclosing class:
Portlet

public static class Portlet.Markup
extends java.lang.Object

The Markup class is a finite enumeration of the possible markup languages that a portlet can supports


Field Summary
static Portlet.Markup HTML
           
static Portlet.Markup WML
           
 
Method Summary
static Portlet.Markup fromMimeType(java.lang.String mimeType)
           
static Portlet.Markup fromString(java.lang.String str)
           
 java.lang.String getMimeType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

HTML

public static final Portlet.Markup HTML

WML

public static final Portlet.Markup WML
Method Detail

fromMimeType

public static Portlet.Markup fromMimeType(java.lang.String mimeType)

fromString

public static Portlet.Markup fromString(java.lang.String str)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getMimeType

public java.lang.String getMimeType()


Copyright © 2002 Herve Tchepannou. All Rights Reserved.