org.apache.taglibs.input
Class Option

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.taglibs.input.Option
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class Option
extends javax.servlet.jsp.tagext.BodyTagSupport

This class implements the <input:option> tag, which presents an <option> form element.

Version:
0.90
Author:
Karl von Randow
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
Option()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 java.util.Map getAttributes()
          Getter for property attributes.
 java.lang.String getAttributesText()
          Getter for property attributesText.
 java.lang.String getValue()
          Getter for property value.
 void release()
           
 void setAttributes(java.util.Map x)
           
 void setAttributesText(java.lang.String x)
           
 void setValue(java.lang.String x)
           
protected  boolean testAndRemoveChosen(java.lang.String value)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

Option

public Option()
Method Detail

release

public void release()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

testAndRemoveChosen

protected boolean testAndRemoveChosen(java.lang.String value)
                               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setValue

public void setValue(java.lang.String x)

getValue

public java.lang.String getValue()
Getter for property value.

Returns:
Value of property value.

setAttributes

public void setAttributes(java.util.Map x)

getAttributes

public java.util.Map getAttributes()
Getter for property attributes.

Returns:
Value of property attributes.

setAttributesText

public void setAttributesText(java.lang.String x)

getAttributesText

public java.lang.String getAttributesText()
Getter for property attributesText.

Returns:
Value of property attributesText.


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.