当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
MarkupPortlet - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.test.wsrp.portlet
Class MarkupPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.jboss.portal.test.wsrp.portlet.MarkupPortlet
- All Implemented Interfaces:
- Portlet
- public class MarkupPortlet
- extends GenericPortlet
- Since:
- 2.4
- Version:
- $Revision: 5440 $
- Author:
- Julien Viet, Chris Laprun
Field Summary |
private java.lang.String |
AAPL
|
private java.lang.String |
AAPL_VALUE
|
private java.lang.String |
HELP
|
private java.lang.String |
RHAT
|
private java.lang.String |
RHAT_VALUE
|
private java.lang.String |
SYMBOL
|
private java.lang.String |
VALUE
|
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYMBOL
private final java.lang.String SYMBOL
- See Also:
- Constant Field Values
VALUE
private final java.lang.String VALUE
- See Also:
- Constant Field Values
RHAT
private final java.lang.String RHAT
- See Also:
- Constant Field Values
AAPL
private final java.lang.String AAPL
- See Also:
- Constant Field Values
HELP
private final java.lang.String HELP
- See Also:
- Constant Field Values
RHAT_VALUE
private final java.lang.String RHAT_VALUE
- See Also:
- Constant Field Values
AAPL_VALUE
private final java.lang.String AAPL_VALUE
- See Also:
- Constant Field Values
MarkupPortlet
public MarkupPortlet()
processAction
public void processAction(ActionRequest req,
ActionResponse resp)
throws PortletModeException,
java.io.IOException
- Description copied from class:
GenericPortlet
- Called by the portlet container to allow the portlet to process an action request. This method is called if the
client request was originated by a URL created (by the portlet) with the
RenderResponse.createActionURL()
method.
The default implementation throws an exception.
- Specified by:
processAction
in interface Portlet
- Overrides:
processAction
in class GenericPortlet
- Parameters:
req
- the action requestresp
- the action response
- Throws:
java.io.IOException
- if the streaming causes an I/O problem
PortletModeException
doView
protected void doView(RenderRequest request,
RenderResponse response)
throws java.io.IOException
- Description copied from class:
GenericPortlet
- Helper method to serve up the mandatory
view
mode.
The default implementation throws an exception.
- Overrides:
doView
in class GenericPortlet
- Parameters:
request
- the portlet requestresponse
- the render response
- Throws:
java.io.IOException
- if the streaming causes an I/O problem
getValue
private java.lang.String getValue(RenderRequest request)
getSymbol
private java.lang.String getSymbol(RenderRequest request)
doEdit
protected void doEdit(RenderRequest request,
RenderResponse response)
throws PortletException,
PortletSecurityException,
java.io.IOException
- Description copied from class:
GenericPortlet
- Helper method to serve up the
edit
mode.
The default implementation throws an exception.
- Overrides:
doEdit
in class GenericPortlet
- Parameters:
request
- the portlet requestresponse
- the render response
- Throws:
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
PortletException
- if the portlet cannot fulfilling the request
java.io.IOException
- if the streaming causes an I/O problem