当前页面: 
在线文档首页 > 
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
javax.portlet.GenericPortlet
       org.jboss.portal.test.wsrp.portlet.MarkupPortlet
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:
- processActionin interface- Portlet
- Overrides:
- processActionin class- GenericPortlet
 
- 
- Parameters:
- req- the action request
- resp- 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 viewmode.
 
 The default implementation throws an exception.
 
- 
- Overrides:
- doViewin class- GenericPortlet
 
- 
- Parameters:
- request- the portlet request
- response- 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 editmode.
 
 The default implementation throws an exception.
 
- 
- Overrides:
- doEditin class- GenericPortlet
 
- 
- Parameters:
- request- the portlet request
- response- 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