org.apache.taglibs.rdc.core
Class StackPush

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

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

Push an object on to the stack.

Author:
Abhishek Verma, Rahul Akolkar

Constructor Summary
StackPush()
           
 
Method Summary
 void doTag()
           
 void setElement(java.lang.Object element)
          Sets the object to be pushed on to the stack
 void setStack(java.util.Stack stack)
          Set the stack of rdc datamodels
 
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

StackPush

public StackPush()
Method Detail

setStack

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

Parameters:
stack - - the stack of rdc datamodels

setElement

public void setElement(java.lang.Object element)
Sets the object to be pushed on to the stack

Parameters:
element - - rdc datamodel to be pushed on to the stack

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.