public class BundleTag extends I18NSupport implements TryCatchFinally
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
BundleTag() |
Modifier and Type | Method and Description |
---|---|
void |
doCatch(java.lang.Throwable t)
Handle the catch
|
void |
doFinally()
Handle the finaly
|
int |
doStartTag()
Process the tag.
|
void |
setBasename(java.lang.String basename)
Sets the basename.
|
static java.lang.Object |
setBundle(java.lang.String baseName,
PageContextImpl pc) |
void |
setPrefix(java.lang.String prefix)
Sets a prefix for message keys.
|
setResponseLocale
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public void setBasename(java.lang.String basename)
public void setPrefix(java.lang.String prefix)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public void doCatch(java.lang.Throwable t) throws java.lang.Throwable
doCatch
in interface TryCatchFinally
t
- the thrown exceptionjava.lang.Throwable
public void doFinally()
doFinally
in interface TryCatchFinally
public static java.lang.Object setBundle(java.lang.String baseName, PageContextImpl pc)