org.apache.jetspeed.portal.portlets
Class WMLFilePortlet
java.lang.Object
org.apache.jetspeed.portal.portlets.AbstractPortlet
org.apache.jetspeed.portal.portlets.AbstractInstancePortlet
org.apache.jetspeed.portal.portlets.FileWatchPortlet
org.apache.jetspeed.portal.portlets.WMLFilePortlet
- All Implemented Interfaces:
- Cacheable, Portlet, PortletState, org.apache.turbine.services.cache.Refreshable, java.io.Serializable
- public class WMLFilePortlet
- extends FileWatchPortlet
This portlet serves well-formed WML file content and strips
them of superfluous tags liks
The strip capability has been temporarily disabled due to
class conflicts in Tomcat 3.2, so this portlet can only currently
serve fragments of WML documents, without the tag
- Version:
- $Id: WMLFilePortlet.java,v 1.12 2005/03/21 18:21:43 sgala Exp $
- Author:
- Raphaël Luta
- See Also:
- Serialized Form
Method Summary |
org.apache.ecs.ConcreteElement |
getContent(org.apache.turbine.util.RunData data)
Returns an HTML representation of this portlet. |
void |
init()
Initialize the content of the portlet |
boolean |
supportsType(MimeType type)
Returns true portlet is able to output content for given mimetype |
Methods inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet |
allowClose, allowCustomize, allowInfo, allowMaximize, allowMinimize, allowPrintFriendly, allowView, clearContent, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getContent, getCreationTime, getDescription, getDescription, getExpirationMillis, getHandle, getID, getImage, getImage, getInstance, getName, getPortletConfig, getTitle, getTitle, isCacheable, isClosed, isMinimized, isShowTitleBar, providesCustomization, refresh, setAttribute, setCacheable, setCachedObject, setClosed, setContent, setContent, setContent, setCreationTime, setDescription, setExpirationMillis, setHandle, setID, setImage, setMinimized, setName, setPortletConfig, setTitle, setTitle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMLFilePortlet
public WMLFilePortlet()
supportsType
public boolean supportsType(MimeType type)
- Description copied from interface:
Portlet
- Returns true portlet is able to output content for given mimetype
- Specified by:
supportsType
in interface Portlet
- Overrides:
supportsType
in class AbstractPortlet
- See Also:
Portlet#supportsType
init
public void init()
throws PortletException
- Initialize the content of the portlet
- Specified by:
init
in interface Portlet
- Overrides:
init
in class AbstractPortlet
- Throws:
PortletException
getContent
public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData data)
- Description copied from interface:
Portlet
- Returns an HTML representation of this portlet. Usually a Portlet would
initialized itself within init() and then when getContent is called it
would return its presentation.
- Specified by:
getContent
in interface Portlet
- Overrides:
getContent
in class AbstractPortlet
- Parameters:
data
- The RunData object for the current request
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.