jodd.servlet.tag
Class SwitchTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by jodd.servlet.tag.SwitchTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

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

Switch tag provides string comparison of its value with inner case values.


Constructor Summary
SwitchTag()
           
 
Method Summary
 void doTag()
           
 java.lang.String getValue()
           
 boolean isValueFounded()
           
 void setValue(java.lang.String value)
           
 void valueFounded()
           
 
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

SwitchTag

public SwitchTag()
Method Detail

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

valueFounded

public void valueFounded()

isValueFounded

public boolean isValueFounded()

doTag

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


Copyright © 2003-2012 Jodd Team