Class ParseNumberTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
jakarta.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.standard.tag.common.fmt.ParseNumberSupport
org.apache.taglibs.standard.tag.el.fmt.ParseNumberTag
- All Implemented Interfaces:
BodyTag,IterationTag,JspTag,Tag,Serializable
A handler for <parseNumber> that accepts attributes as Strings and evaluates them as expressions at runtime.
- Author:
- Jan Luehe
- See Also:
-
Field Summary
Fields inherited from class org.apache.taglibs.standard.tag.common.fmt.ParseNumberSupport
integerOnlySpecified, isIntegerOnly, parseLocale, pattern, type, value, valueSpecifiedFields 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 TypeMethodDescriptionintDefault processing of the start tag returning EVAL_BODY_BUFFERED.voidrelease()Release state.voidsetIntegerOnly(String integerOnly_) voidsetParseLocale(String parseLocale_) voidsetPattern(String pattern_) voidvoidMethods inherited from class org.apache.taglibs.standard.tag.common.fmt.ParseNumberSupport
doEndTag, setScope, setVarMethods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContentMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
ParseNumberTag
public ParseNumberTag()Constructs a new ParseNumberTag. As with TagSupport, subclasses should not provide other constructors and are expected to call the superclass constructor
-
-
Method Details
-
doStartTag
Description copied from class:BodyTagSupportDefault processing of the start tag returning EVAL_BODY_BUFFERED.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classBodyTagSupport- Returns:
- EVAL_BODY_BUFFERED
- Throws:
JspException- if an error occurred while processing this tag- See Also:
-
release
public void release()Description copied from class:BodyTagSupportRelease state.- Specified by:
releasein interfaceTag- Overrides:
releasein classParseNumberSupport- See Also:
-
setValue
-
setType
-
setPattern
-
setParseLocale
-
setIntegerOnly
-