org.ejtools.servlet.http.jsp.tagext
Class ObjectClassTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.ejtools.servlet.http.jsp.tagext.ObjectClassTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Tag that put the object class in the page context

The object class is put in the context with :

Version:
$Revision: 1.4 $
Author:
Laurent Etiemble
See Also:
Serialized Form

Field Summary
protected  java.lang.String id
          Id property of the tag
protected  java.lang.String name
          Name property of the tag
protected  java.lang.String property
          Property property of the tag
protected  java.lang.String scope
          Scope property of the tag
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
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
ObjectClassTag()
           
 
Method Summary
 int doStartTag()
          Executed when the start tag is encountered
 java.lang.String getId()
          Gets the id value of this tag
 java.lang.String getName()
          Gets the name value of this tag
 java.lang.String getProperty()
          Gets the property value of this tag
 java.lang.String getScope()
          Gets the scope value of this tag
 void release()
          Release all allocated resources.
 void setId(java.lang.String id)
          Sets the id value of this tag
 void setName(java.lang.String name)
          Sets the name value of this tag
 void setProperty(java.lang.String property)
          Sets the property value of this tag
 void setScope(java.lang.String scope)
          Sets the scope value of this tag
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.String id
Id property of the tag


name

protected java.lang.String name
Name property of the tag


property

protected java.lang.String property
Property property of the tag


scope

protected java.lang.String scope
Scope property of the tag

Constructor Detail

ObjectClassTag

public ObjectClassTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Executed when the start tag is encountered

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
An int value to resume or not the processing
Throws:
javax.servlet.jsp.JspException - In case of problem

getId

public java.lang.String getId()
Gets the id value of this tag

Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport
Returns:
The id value

getName

public java.lang.String getName()
Gets the name value of this tag

Returns:
The name value

getProperty

public java.lang.String getProperty()
Gets the property value of this tag

Returns:
The property value

getScope

public java.lang.String getScope()
Gets the scope value of this tag

Returns:
The scope value

release

public void release()
Release all allocated resources.

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

setId

public void setId(java.lang.String id)
Sets the id value of this tag

Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport
Parameters:
id - The new id value

setName

public void setName(java.lang.String name)
Sets the name value of this tag

Parameters:
name - The new name value

setProperty

public void setProperty(java.lang.String property)
Sets the property value of this tag

Parameters:
property - The new property value

setScope

public void setScope(java.lang.String scope)
Sets the scope value of this tag

Parameters:
scope - The new scope value


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.