com.ideo.sweetdevria.taglib.control
Class TestTag

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.control.TestTag
All Implemented Interfaces:
Hideable, IRiaTag, MessageInterface, 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 TestTag
extends AbstractComponentTagSupport
implements IRiaTag, Hideable, MessageInterface

See Also:
Serialized Form

Field Summary
protected  java.lang.String functionTest
           
protected  java.lang.String mask
           
protected  java.util.List messages
           
protected  java.lang.String testClass
           
 
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
TestTag()
           
 
Method Summary
 void addMessage(java.lang.String type, java.lang.String message)
          This class adds a message.
 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 getFunctionTest()
           
 java.lang.String getMask()
           
 java.lang.String getTestClass()
           
 void release()
          Release method which must call super.release !
 void setFunctionTest(java.lang.String functionTest)
           
 void setMask(java.lang.String mask)
           
 void setTestClass(java.lang.String testClass)
           
 
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

mask

protected java.lang.String mask

testClass

protected java.lang.String testClass

functionTest

protected java.lang.String functionTest

messages

protected java.util.List messages
Constructor Detail

TestTag

public TestTag()
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()

getMask

public java.lang.String getMask()

setMask

public void setMask(java.lang.String mask)

getTestClass

public java.lang.String getTestClass()

setTestClass

public void setTestClass(java.lang.String testClass)

getFunctionTest

public java.lang.String getFunctionTest()

setFunctionTest

public void setFunctionTest(java.lang.String functionTest)

addMessage

public void addMessage(java.lang.String type,
                       java.lang.String message)
Description copied from interface: MessageInterface
This class adds a message.

Specified by:
addMessage in interface MessageInterface
Parameters:
type - the type of the message (referring to a messenger)
message - the content of the message


Copyright © 2010 Ideo Technologies. All Rights Reserved.