com.ideo.sweetdevria.taglib.messenger
Class MessageTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.ideo.sweetdevria.taglib.AbstractTagDrawer
          extended by com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
              extended by com.ideo.sweetdevria.taglib.messenger.MessageTag
All Implemented Interfaces:
Hideable, IRiaTag, java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class MessageTag
extends AbstractComponentTagSupport
implements IRiaTag, Hideable

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_TYPE
           
protected  java.lang.String message
           
protected  java.lang.String type
           
 
Fields inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
bodyContent, rendered
 
Fields inherited from class com.ideo.sweetdevria.taglib.AbstractTagDrawer
builder, messageKeys, templateEnd, templateStart
 
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
MessageTag()
           
 
Method Summary
 int doEndTag()
          Default processing of the end tag returning EVAL_PAGE.
 java.lang.String getBuilderId()
          Return the targeted builder id for this component as specified in the configuration file.
 java.lang.String getMessage()
           
 java.lang.String getType()
           
 void release()
          Release method which must call super.release !
 void setMessage(java.lang.String message)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractComponentTagSupport
checkId, doAfterBody, doInitBody, doStartTag, getBodyContent, getId, isRendered, refractorContext, setBodyContent, setId, setRendered
 
Methods inherited from class com.ideo.sweetdevria.taglib.AbstractTagDrawer
generateHtmlContent, getBuilder, getMessageKeys, getPageContext, getTemplateEnd, getTemplateStart, setPageContext, setTemplateEnd, setTemplateStart
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ideo.sweetdevria.taglib.IRiaTag
doStartTag, getMessageKeys, getPageContext, getTemplateEnd, getTemplateStart, setPageContext, setTemplateEnd, setTemplateStart
 
Methods inherited from interface com.ideo.sweetdevria.taglib.Hideable
isRendered, setRendered
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

DEFAULT_TYPE

public static java.lang.String DEFAULT_TYPE

type

protected java.lang.String type

message

protected java.lang.String message
Constructor Detail

MessageTag

public MessageTag()
Method Detail

getBuilderId

public java.lang.String getBuilderId()
Description copied from interface: IRiaTag
Return the targeted builder id for this component as specified in the configuration file.

Specified by:
getBuilderId in interface IRiaTag
Specified by:
getBuilderId in class AbstractTagDrawer
Returns:
id targeted builder id
See Also:
IRiaTag.getBuilderId()

release

public void release()
Description copied from interface: IRiaTag
Release method which must call super.release !

Specified by:
release in interface IRiaTag
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class AbstractComponentTagSupport
See Also:
IRiaTag.release()

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Description copied from interface: IRiaTag
Default processing of the end tag returning EVAL_PAGE.

Specified by:
doEndTag in interface IRiaTag
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class AbstractComponentTagSupport
Returns:
EVAL_PAGE or SKIP_PAGE.
Throws:
javax.servlet.jsp.JspException
See Also:
IRiaTag.doEndTag()

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getMessage

public java.lang.String getMessage()

setMessage

public void setMessage(java.lang.String message)


Copyright © 2010 Ideo Technologies. All Rights Reserved.