© 2002 BEA Systems, Inc.


com.bea.p13n.taglib.util
Class CounterTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.bea.p13n.taglib.util.CounterTag

public class CounterTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Implements the methods necessary to support the the counterTag/code> tag.

See Also:
Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
CounterTag()
           
 
Method Summary
 int doAfterBody()
          Called when the end of the tag is reached
 int doStartTag()
          Called when the tag starts.
 java.lang.String getId()
          Get the value of id.
 long getMaxCount()
          Get the value of maxCount.
 long getMinCount()
          Get the value of minCount.
 java.lang.String getType()
          Get the value of type.
 void setId(java.lang.String theId)
          Set the value of id.
 void setMaxCount(int newMaxCount)
          Set the value of maxCount.
 void setMaxCount(long newMaxCount)
           
 void setMinCount(int newMinCount)
          Set the value of minCount.
 void setMinCount(long newMinCount)
           
 void setType(java.lang.String theType)
          Set the value of type.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 

Constructor Detail

CounterTag

public CounterTag()
Method Detail

setMinCount

public void setMinCount(int newMinCount)
Set the value of minCount.

Parameters:
newMinCount - Value to assign to minCount.

setMinCount

public void setMinCount(long newMinCount)

getMinCount

public long getMinCount()
Get the value of minCount.

Returns:
Value of minCount.

setMaxCount

public void setMaxCount(int newMaxCount)
Set the value of maxCount.

Parameters:
newMaxCount - Value to assign to maxCount.

setMaxCount

public void setMaxCount(long newMaxCount)

getMaxCount

public long getMaxCount()
Get the value of maxCount.

Returns:
Value of maxCount.

setId

public void setId(java.lang.String theId)
Set the value of id.

Parameters:
theId - theId to assign to id.
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getId

public java.lang.String getId()
Get the value of id.

Returns:
Value of id.
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setType

public void setType(java.lang.String theType)
Set the value of type.

Parameters:
v - theType to assign to type.

getType

public java.lang.String getType()
Get the value of type.

Returns:
Value of type.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Called when the tag starts.

Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Called when the end of the tag is reached

Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved