Milyn-Tinak Version 0.6.1

org.milyn.tinak
Class SetProfileTag

java.lang.Object
  extended byorg.milyn.tinak.SetProfileTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public class SetProfileTag
extends java.lang.Object
implements javax.servlet.jsp.tagext.Tag

The set-profile tag adds a profile to the context.

Author:
Tom Fennelly

Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
SetProfileTag()
           
 
Method Summary
 int doEndTag()
          Process the doEnd event.
 int doStartTag()
          Process the doStart event.
 javax.servlet.jsp.tagext.Tag getParent()
          Get the tag parent tag.
 void release()
          Process the release event.
 void setList(java.lang.String cnList)
          Bean method for setting the list attribute ("list") value from the page.
 void setName(java.lang.String name)
          Bean method for setting the name attribute ("name") value from the page.
 void setPageContext(javax.servlet.jsp.PageContext context)
          Set the page context.
 void setParent(javax.servlet.jsp.tagext.Tag tag)
          Set the tag parent tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetProfileTag

public SetProfileTag()
Method Detail

setPageContext

public void setPageContext(javax.servlet.jsp.PageContext context)
Set the page context.

Called by the container.

Specified by:
setPageContext in interface javax.servlet.jsp.tagext.Tag
Parameters:
context - The page context.

setParent

public void setParent(javax.servlet.jsp.tagext.Tag tag)
Set the tag parent tag.

Called by the container.

Specified by:
setParent in interface javax.servlet.jsp.tagext.Tag
Parameters:
tag - The tag parent tag.

getParent

public javax.servlet.jsp.tagext.Tag getParent()
Get the tag parent tag.

Specified by:
getParent in interface javax.servlet.jsp.tagext.Tag
Returns:
The tag parent tag.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the doStart event.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Returns:
One of Tag.SKIP_BODY, Tag.EVAL_BODY_INCLUDE, Tag.SKIP_PAGE, Tag.EVAL_PAGE
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the doEnd event.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Returns:
One of Tag.SKIP_BODY, Tag.EVAL_BODY_INCLUDE, Tag.SKIP_PAGE, Tag.EVAL_PAGE
Throws:
javax.servlet.jsp.JspException

setName

public void setName(java.lang.String name)
Bean method for setting the name attribute ("name") value from the page.

Parameters:
name - The name value.

setList

public void setList(java.lang.String cnList)
Bean method for setting the list attribute ("list") value from the page.

Parameters:
cnList - The list value.

release

public void release()
Process the release event.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag

Milyn-Tinak Version 0.6.1