org.ow2.opensuit.core.util
Class RenderingContext

java.lang.Object
  extended by org.ow2.opensuit.core.util.RenderingContext

public class RenderingContext
extends java.lang.Object

Helper class used by graphical components during the rendering process.


Constructor Summary
RenderingContext()
           
 
Method Summary
static RenderingContext get(javax.servlet.http.HttpServletRequest iRequest)
          Returns the current rendering context.
 java.lang.Object get(java.lang.Object iSource, java.lang.String iName)
          Retrieves data from the rendering context.
 void put(java.lang.Object iSource, java.lang.String iName, java.lang.Object iValue)
          Puts data in the rendering context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderingContext

public RenderingContext()
Method Detail

get

public static RenderingContext get(javax.servlet.http.HttpServletRequest iRequest)
Returns the current rendering context.

Parameters:
iRequest - The current http request.
Returns:

put

public void put(java.lang.Object iSource,
                java.lang.String iName,
                java.lang.Object iValue)
Puts data in the rendering context.

Parameters:
iSource - The component using the data.
iName - The data name.
iValue - The value to store.

get

public java.lang.Object get(java.lang.Object iSource,
                            java.lang.String iName)
Retrieves data from the rendering context.

Parameters:
iSource - The component using the data.
iName - The data name.
Returns:
The data value.


Copyright © 2008-2012 OW2 Consortium. All Rights Reserved.