org.wings.util
Class AnchorRenderStack

java.lang.Object
  extended by org.wings.util.AnchorRenderStack

public class AnchorRenderStack
extends Object

This is a thread save global stack.

Author:
Henner Zeller

Constructor Summary
AnchorRenderStack()
           
 
Method Summary
static Object clear()
           
static AnchorProperties get()
          returns the topmost request URL on the stack or 'null', if there is no such element.
static void pop()
           
static void push(SimpleURL url, String target)
          Push a new URL.
static void push(String formEventName, String formEventValue)
           
static void reset()
          reset the internal stacks.
static void set(Object stack)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnchorRenderStack

public AnchorRenderStack()
Method Detail

reset

public static void reset()
reset the internal stacks. This should be done everytime a complete frame is rendered (maybe in some finally { }) to make sure the internal stacks do not fill up.


push

public static void push(SimpleURL url,
                        String target)
Push a new URL.


push

public static void push(String formEventName,
                        String formEventValue)

pop

public static void pop()

get

public static AnchorProperties get()
returns the topmost request URL on the stack or 'null', if there is no such element.


clear

public static Object clear()

set

public static void set(Object stack)


wingS Swings ;-)