net.sf.wfnm.web.taglib
Class OwnerTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bynet.sf.wfnm.web.taglib.OwnerTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

public class OwnerTag
extends javax.servlet.jsp.tagext.TagSupport

This tag allows to define the ownership of an object that will be placed into the http session.

Version:
1.0.6
Author:
Maurizio Albari
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
OwnerTag()
           
 
Method Summary
 int doStartTag()
          Implements the start of the owner tag.
 String getKey()
          Gets the key of the object.
 String getOwner()
          Gets the ownership.
 void setKey(String key)
          Sets the key of the object.
 void setOwner(String owner)
          Sets the ownership.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwnerTag

public OwnerTag()
Method Detail

setKey

public void setKey(String key)
Sets the key of the object.

Parameters:
key - the key of the object

getKey

public String getKey()
Gets the key of the object.

Returns:
the key of the object

setOwner

public void setOwner(String owner)
Sets the ownership.

Parameters:
owner - the ownership

getOwner

public String getOwner()
Gets the ownership.

Returns:
the ownership

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Implements the start of the owner tag.

Returns:
always SKIP_BODY in order to skip the body
Throws:
javax.servlet.jsp.JspException - if the parameters of this tags are wrong


Copyright © 2004-2005 Maurizio Albari@SourceForge.net. All Rights Reserved.