org.apache.struts.taglib.template.util

Class ContentMapStack


public class ContentMapStack
extends java.lang.Object

This class provides access to a stack of ContentMaps in request scope through static methods.

Version:
$Revision: 1.3 $ $Date: 2002/10/25 23:54:53 $

Author:
David Geary

Constructor Summary

ContentMapStack()
No instantiations of this class are allowed.

Method Summary

static Stack
getStack(PageContext pc)
Deprecated. Use Tiles instead.
static ContentMap
peek(PageContext pc)
Deprecated. Use Tiles instead.
static ContentMap
pop(PageContext pc)
Deprecated. Use Tiles instead.
static void
push(PageContext pc, ContentMap map)
Deprecated. Use Tiles instead.

Constructor Details

ContentMapStack

private ContentMapStack()
No instantiations of this class are allowed.

Method Details

getStack

public static Stack getStack(PageContext pc)

Deprecated. Use Tiles instead.

Return a reference to the stack. If there is no stack, one is created and placed into request scope associated with the page context.

Parameters:
pc - The page context associated with a custom tag.


peek

public static ContentMap peek(PageContext pc)

Deprecated. Use Tiles instead.

Peek at the map on top of the stack.

Parameters:
pc - The page context associated with a custom tag.


pop

public static ContentMap pop(PageContext pc)

Deprecated. Use Tiles instead.

Parameters:
pc - The page context associated with a custom tag.


push

public static void push(PageContext pc,
                        ContentMap map)

Deprecated. Use Tiles instead.

Push a content map onto the stack.

Parameters:
pc - The page context associated with a custom tag.
map - A content map that gets pushed onto the stack.


Copyright B) 2000-2005 - Apache Software Foundation