com.beasys.commerce.axiom.tags
Class CounterTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--com.beasys.commerce.axiom.tags.CounterTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class CounterTag
- extends javax.servlet.jsp.tagext.BodyTagSupport
Implements the methods necessary to support the the counterTag/code>
tag.
- Version:
- $Revision: 2$, $Date: 3/8/00 8:26:00 PM$
- Author:
- original: Phil Griffin, latest: $Author: Phil Griffin$
- 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 |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
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 |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
CounterTag
public CounterTag()
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.
- Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport
- Parameters:
theId - theId to assign to id.
getId
public java.lang.String getId()
- Get the value of id.
- Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport
- Returns:
- Value of id.
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
Copyright © 2000 BEA Systems, Inc. All Rights Reserved