jodd.servlet.tag
Class LoopTag
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
jodd.servlet.tag.LoopingTagSupport
jodd.servlet.tag.LoopTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
public class LoopTag
- extends LoopingTagSupport
Loop tag performs enhanced looping in both directions.
|
Method Summary |
void |
doTag()
|
void |
setAutoDirection(boolean autoDirection)
Specifies if direction should be detected from the start and end value. |
void |
setCount(int count)
Sets loop count. |
void |
setEnd(int end)
Sets the end loop value (inclusive). |
void |
setTo(int to)
Sets TO loop value (exclusive). |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isEndSpecified
protected boolean isEndSpecified
isExclusive
protected boolean isExclusive
isCount
protected boolean isCount
autoDirection
protected boolean autoDirection
LoopTag
public LoopTag()
setEnd
public void setEnd(int end)
- Sets the end loop value (inclusive).
- Overrides:
setEnd in class LoopingTagSupport
setCount
public void setCount(int count)
- Sets loop count.
setTo
public void setTo(int to)
- Sets TO loop value (exclusive).
setAutoDirection
public void setAutoDirection(boolean autoDirection)
- Specifies if direction should be detected from the start and end value.
doTag
public void doTag()
throws javax.servlet.jsp.JspException
- Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag- Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
Copyright © 2003-2012 Jodd Team