public class SetLocaleTag extends SetLocaleSupport
A handler for <setLocale> that accepts attributes as Strings and evaluates them as expressions at runtime.
value, variant
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
SetLocaleTag()
Constructs a new LocaleTag.
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Default processing of the start tag, returning SKIP_BODY.
|
void |
release()
Release state.
|
void |
setValue(String value_) |
void |
setVariant(String variant_) |
doEndTag, parseLocale, parseLocale, setScope
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public SetLocaleTag()
public int doStartTag() throws JspException
TagSupport
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
- if an error occurs while processing this tagTag.doStartTag()
public void release()
TagSupport
release
in interface Tag
release
in class SetLocaleSupport
Tag.release()
public void setValue(String value_)
public void setVariant(String variant_)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.