jsp2.examples.simpletag
Class ShuffleSimpleTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by jsp2.examples.simpletag.ShuffleSimpleTag
All Implemented Interfaces:
JspTag, SimpleTag

public class ShuffleSimpleTag
extends SimpleTagSupport

SimpleTag handler that accepts takes three attributes of type JspFragment and invokes then in a random order.


Constructor Summary
ShuffleSimpleTag()
           
 
Method Summary
 void doTag()
           
 void setFragment1(JspFragment fragment1)
           
 void setFragment2(JspFragment fragment2)
           
 void setFragment3(JspFragment fragment3)
           
 
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

ShuffleSimpleTag

public ShuffleSimpleTag()
Method Detail

doTag

public void doTag()
           throws JspException,
                  IOException
Specified by:
doTag in interface SimpleTag
Overrides:
doTag in class SimpleTagSupport
Throws:
JspException
IOException

setFragment1

public void setFragment1(JspFragment fragment1)

setFragment2

public void setFragment2(JspFragment fragment2)

setFragment3

public void setFragment3(JspFragment fragment3)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.