- All Implemented Interfaces:
ClassAttribute,DataAttribute,DirAttribute,DisabledAttribute,GlobalAttributes,GlobalBufferedAttributes,IdAttribute,SelectedAttribute,StyleAttribute,ValueAttribute,BodyTag,DynamicAttributes,IterationTag,JspTag,Tag,TryCatchFinally,Serializable
public class OptionTag
extends ElementBufferedBodyTag
implements DisabledAttribute, SelectedAttribute, ValueAttribute
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoapps.taglib.legacy.ElementBufferedBodyTag
globalFields inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
bodyContentFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAGFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intdoEndTag(BufferResult capturedBody, Writer out) voidvoidsetDisabled(boolean disabled) voidsetSelected(boolean selected) voidMethods inherited from class com.aoapps.taglib.legacy.ElementBufferedBodyTag
addData, addDynamicAttribute, getClazz, getData, getDir, getStyle, setClazz, setData, setDir, setDynamicAttribute, setId, setStyleMethods inherited from class com.aoapps.encoding.taglib.legacy.EncodingBufferedBodyTag
doAfterBody, doAfterBody, doCatch, doEndTag, doInitBody, doStartTag, doStartTag, getTempFileThreshold, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix, writePrefix, writeSuffixMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aoapps.taglib.GlobalAttributes
getIdMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
OptionTag
public OptionTag()
-
-
Method Details
-
getContentType
- Specified by:
getContentTypein classEncodingBufferedBodyTag
-
getOutputType
- Specified by:
getOutputTypein classEncodingBufferedBodyTag
-
setDisabled
public void setDisabled(boolean disabled) - Specified by:
setDisabledin interfaceDisabledAttribute
-
setSelected
public void setSelected(boolean selected) - Specified by:
setSelectedin interfaceSelectedAttribute
-
setValue
- Specified by:
setValuein interfaceValueAttribute
-
doEndTag
- Overrides:
doEndTagin classEncodingBufferedBodyTag- Throws:
JspExceptionIOException
-
doFinally
public void doFinally()- Specified by:
doFinallyin interfaceTryCatchFinally- Overrides:
doFinallyin classElementBufferedBodyTag
-
