org.dasein.net.jsp.util
Class EnumDisplayTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.dasein.net.jsp.util.EnumDisplayTag
All Implemented Interfaces:
Serializable, IterationTag, JspTag, Tag

public class EnumDisplayTag
extends TagSupport

Provides the result of Enum.toString() method for the specified enum.

Last modified: $Date: 2006/01/12 17:16:45 $

Version:
$Revision: 1.1 $
Author:
George Reese
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
EnumDisplayTag()
           
 
Method Summary
 int doEndTag()
           
 void setEnum(String val)
           
 void setVar(String v)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumDisplayTag

public EnumDisplayTag()
Method Detail

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Throws:
JspException

setEnum

public void setEnum(String val)
             throws JspException
Throws:
JspException

setVar

public void setVar(String v)


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.