public class FmtParseNumberTag extends BodyTagSupport
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
FmtParseNumberTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Process the tag.
|
protected java.text.NumberFormat |
getFormat() |
void |
setIntegerOnly(boolean integerOnly)
Sets true if integer only parsing.
|
void |
setParseLocale(java.lang.Object locale)
Sets the parse locale
|
void |
setPattern(java.lang.String pattern)
Sets the number pattern.
|
void |
setScope(java.lang.String scope)
Sets the variable scope.
|
void |
setType(java.lang.String type)
Sets the formatting type.
|
void |
setValue(java.lang.String value)
Sets the formatting value.
|
void |
setVar(java.lang.String var)
Sets the variable name.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentpublic void setValue(java.lang.String value)
value - the value.public void setType(java.lang.String type)
type - the type.public void setPattern(java.lang.String pattern)
pattern - the number pattern.public void setParseLocale(java.lang.Object locale)
locale - the localepublic void setIntegerOnly(boolean integerOnly)
integerOnly - the JSP-EL expression for the number pattern.public void setVar(java.lang.String var)
var - the variable name to store the value in.public void setScope(java.lang.String scope)
scope - the variable scope to store the value in.public int doEndTag()
throws JspException
doEndTag in interface TagdoEndTag in class TagSupportJspExceptionprotected java.text.NumberFormat getFormat()
throws JspException
JspException