org.apache.portals.bridges.struts.config
Class RenderContextAttributes

java.lang.Object
  extended by org.apache.portals.bridges.struts.config.AbstractConfigComponent
      extended by org.apache.portals.bridges.struts.config.RenderContextAttributes

public class RenderContextAttributes
extends AbstractConfigComponent


Nested Class Summary
static class RenderContextAttributes.Attribute
           
 
Nested classes/interfaces inherited from class org.apache.portals.bridges.struts.config.AbstractConfigComponent
AbstractConfigComponent.SetParentRule
 
Constructor Summary
RenderContextAttributes()
           
 
Method Summary
 void addAttribute(RenderContextAttributes.Attribute attribute)
           
 void afterLoad()
           
 void clearAttributes(javax.portlet.PortletSession session)
          Remove attributes from the PortletSession
 void configure(org.apache.commons.digester.Digester digester)
           
 void restoreAttributes(javax.portlet.PortletRequest request)
          Restore attributes from the PortletSession.
 void saveAttributes(javax.portlet.PortletRequest request)
          Save attributes in the PortletSession.
 void setName(java.lang.String name)
           
 
Methods inherited from class org.apache.portals.bridges.struts.config.AbstractConfigComponent
checkLoaded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderContextAttributes

public RenderContextAttributes()
Method Detail

addAttribute

public void addAttribute(RenderContextAttributes.Attribute attribute)

setName

public void setName(java.lang.String name)

configure

public void configure(org.apache.commons.digester.Digester digester)
Specified by:
configure in class AbstractConfigComponent

afterLoad

public void afterLoad()
Overrides:
afterLoad in class AbstractConfigComponent

saveAttributes

public void saveAttributes(javax.portlet.PortletRequest request)
Save attributes in the PortletSession. This will ensure that each portlet instance will have its own render attributes.

Parameters:
request - The PortletRequest

clearAttributes

public void clearAttributes(javax.portlet.PortletSession session)
Remove attributes from the PortletSession

Parameters:
session - The PortletSession

restoreAttributes

public void restoreAttributes(javax.portlet.PortletRequest request)
Restore attributes from the PortletSession.

Parameters:
request - The portletRequest


Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.