org.ejtools.servlet.http.jsp.tagext.iteration
Class ComputePageTag

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

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

Description of the Class

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

Field Summary
protected  java.lang.String current
          Description of the Field
protected  java.lang.String id
          Description of the Field
protected  java.lang.String length
          Description of the Field
protected  java.lang.String offset
          Description of the Field
protected  java.lang.String scope
          Description of the Field
protected  java.lang.String size
          Description of the Field
 
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
ComputePageTag()
           
 
Method Summary
 int doStartTag()
          Description of the Method
 java.lang.String getCurrent()
          Returns the start.
 java.lang.String getId()
          Returns the id.
 java.lang.String getLength()
          Returns the page.
 java.lang.String getOffset()
          Returns the offset.
 java.lang.String getScope()
          Getter for the scope attribute
 java.lang.String getSize()
          Returns the length.
 void release()
          Release all allocated resources.
 void setCurrent(java.lang.String current)
          Sets the current.
 void setId(java.lang.String id)
          Sets the id.
 void setLength(java.lang.String length)
          Sets the length.
 void setOffset(java.lang.String offset)
          Sets the offset.
 void setScope(java.lang.String scope)
          Sets the scope.
 void setSize(java.lang.String size)
          Sets the size.
 
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

current

protected java.lang.String current
Description of the Field


id

protected java.lang.String id
Description of the Field


length

protected java.lang.String length
Description of the Field


offset

protected java.lang.String offset
Description of the Field


scope

protected java.lang.String scope
Description of the Field


size

protected java.lang.String size
Description of the Field

Constructor Detail

ComputePageTag

public ComputePageTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description of the Method

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
Description of the Returned Value
Throws:
javax.servlet.jsp.JspException - Description of Exception

getCurrent

public java.lang.String getCurrent()
Returns the start.

Returns:
String

getId

public java.lang.String getId()
Returns the id.

Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport
Returns:
String

getLength

public java.lang.String getLength()
Returns the page.

Returns:
String

getOffset

public java.lang.String getOffset()
Returns the offset.

Returns:
String

getScope

public java.lang.String getScope()
Getter for the scope attribute

Returns:
The value of scope attribute

getSize

public java.lang.String getSize()
Returns the length.

Returns:
String

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

setCurrent

public void setCurrent(java.lang.String current)
Sets the current.

Parameters:
current - The current to set

setId

public void setId(java.lang.String id)
Sets the id.

Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport
Parameters:
id - The id to set

setLength

public void setLength(java.lang.String length)
Sets the length.

Parameters:
length - The length to set

setOffset

public void setOffset(java.lang.String offset)
Sets the offset.

Parameters:
offset - The offset to set

setScope

public void setScope(java.lang.String scope)
Sets the scope.

Parameters:
scope - The scope to set

setSize

public void setSize(java.lang.String size)
Sets the size.

Parameters:
size - The size to set


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