public class LoopTag extends LoopingTagSupport
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoDirection |
protected boolean |
isCount |
protected boolean |
isEndSpecified |
protected boolean |
isExclusive |
Constructor and Description |
---|
LoopTag() |
Modifier and Type | Method and Description |
---|---|
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).
|
loopBody, prepareStepDirection, prepareStepDirection, setModulus, setStart, setStatus, setStep
protected boolean isEndSpecified
protected boolean isExclusive
protected boolean isCount
protected boolean autoDirection
public void setEnd(int end)
setEnd
in class LoopingTagSupport
public void setCount(int count)
public void setTo(int to)
public void setAutoDirection(boolean autoDirection)
public void doTag() throws javax.servlet.jsp.JspException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
Copyright © 2003-present Jodd Team