org.apache.taglibs.rdc.core
Class StackPeek

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.apache.taglibs.rdc.core.StackPeek
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class StackPeek
extends javax.servlet.jsp.tagext.SimpleTagSupport

Peek into the top of a stack and make it available as a page scoped object.

Author:
Abhishek Verma, Rahul Akolkar

Constructor Summary
StackPeek()
           
 
Method Summary
 void doTag()
           
 void setStack(java.util.Stack stack)
          Set the stack of rdc datamodels
 void setVar(java.lang.String var)
          Set the name of exported page scoped variable
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackPeek

public StackPeek()
Method Detail

setVar

public void setVar(java.lang.String var)
Set the name of exported page scoped variable

Parameters:
var - - name of exported page scoped variable

setStack

public void setStack(java.util.Stack stack)
Set the stack of rdc datamodels

Parameters:
stack - - the stack of rdc datamodels

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
java.io.IOException


Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.