|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.portal.portlets.AbstractPortlet
org.openscience.nmrshiftdb.portlets.WebPagePortletWithURLFromRequest
public class WebPagePortletWithURLFromRequest
A class that loads a web page and filters it to have certain features deleted. This class was modified by Stefan Kuhn in order to accept a URL to diplay as Parameter (URL=) Certain URLs are also rewritten to display inside of NMRShiftDB.
Field Summary | |
---|---|
(package private) boolean |
pageCached
|
(package private) org.apache.jetspeed.util.HTMLRewriter |
rewriter
|
Fields inherited from class org.apache.jetspeed.portal.portlets.AbstractPortlet |
---|
content |
Fields inherited from interface org.apache.jetspeed.portal.Portlet |
---|
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL |
Constructor Summary | |
---|---|
WebPagePortletWithURLFromRequest()
|
Method Summary | |
---|---|
org.apache.ecs.ConcreteElement |
getContent(org.apache.turbine.util.RunData data)
This methods outputs the content of the portlet for a given request. |
private java.io.Reader |
getReader(java.lang.String url)
took this from FileServerPortlet as it was private |
private org.apache.ecs.ConcreteElement |
getWebPageContent(org.apache.turbine.util.RunData data,
org.apache.jetspeed.portal.PortletConfig config)
|
void |
init()
|
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, getExpire, getHandle, 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, supportsType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
org.apache.jetspeed.util.HTMLRewriter rewriter
boolean pageCached
Constructor Detail |
---|
public WebPagePortletWithURLFromRequest()
Method Detail |
---|
public void init() throws org.apache.jetspeed.portal.PortletException
init
in interface org.apache.jetspeed.portal.Portlet
init
in class org.apache.jetspeed.portal.portlets.AbstractPortlet
org.apache.jetspeed.portal.PortletException
private java.io.Reader getReader(java.lang.String url) throws java.io.IOException
java.io.IOException
public org.apache.ecs.ConcreteElement getContent(org.apache.turbine.util.RunData data)
getContent
in interface org.apache.jetspeed.portal.Portlet
getContent
in class org.apache.jetspeed.portal.portlets.AbstractPortlet
data
- the RunData object for the request
private org.apache.ecs.ConcreteElement getWebPageContent(org.apache.turbine.util.RunData data, org.apache.jetspeed.portal.PortletConfig config)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |