java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
com.aoapps.encoding.taglib.legacy.EncodingNullBodyTag
com.aoapps.taglib.legacy.MessageTag
- All Implemented Interfaces:
MessageArgsAttribute
,TypeAttribute
,Serializable
,BodyTag
,DynamicAttributes
,IterationTag
,JspTag
,Tag
,TryCatchFinally
public class MessageTag
extends EncodingNullBodyTag
implements DynamicAttributes, TypeAttribute, MessageArgsAttribute
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMessageArg
(Object value) protected int
void
void
void
void
void
void
void
setDynamicAttribute
(String uri, String localName, Object value) void
void
protected void
writePrefix
(MediaType containerType, Writer out) protected void
writeSuffix
(MediaType containerType, Writer out) Methods inherited from class com.aoapps.encoding.taglib.legacy.EncodingNullBodyTag
doAfterBody, doAfterBody, doCatch, doEndTag, doInitBody, doStartTag, doStartTag, setMediaEncoderOptions, writeEncoderPrefix, writeEncoderSuffix
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, release, setBodyContent
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
Constructor Details
-
MessageTag
public MessageTag()
-
-
Method Details
-
getOutputType
- Specified by:
getOutputType
in classEncodingNullBodyTag
-
setBundle
-
setKey
-
setType
- Specified by:
setType
in interfaceTypeAttribute
-
addMessageArg
- Specified by:
addMessageArg
in interfaceMessageArgsAttribute
-
setArg0
-
setArg1
-
setArg2
-
setArg3
-
setDynamicAttribute
- Specified by:
setDynamicAttribute
in interfaceDynamicAttributes
- Throws:
JspException
-
writePrefix
- Overrides:
writePrefix
in classEncodingNullBodyTag
- Throws:
JspException
IOException
-
doEndTag
- Overrides:
doEndTag
in classEncodingNullBodyTag
- Throws:
JspException
IOException
-
writeSuffix
- Overrides:
writeSuffix
in classEncodingNullBodyTag
- Throws:
JspException
IOException
-
doFinally
public void doFinally()- Specified by:
doFinally
in interfaceTryCatchFinally
- Overrides:
doFinally
in classEncodingNullBodyTag
-