|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport javax.servlet.jsp.tagext.BodyTagSupport weblogicx.jsp.tags.RepeatTag
public class RepeatTag
The repeat tag is used to iterate over many different types of sets including Enumerations, Iterators, Collections, Arrays of Objects, Vectors, ResultSets, ResultSetMetaData, and the keys of a Hashtable. You can also just loop a certain number of times by using the count attribute.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
---|---|
RepeatTag()
|
Method Summary | |
---|---|
int |
doAfterBody()
|
void |
doInitBody()
|
int |
doStartTag()
|
int |
getCount()
|
String |
getId()
|
Object |
getSet()
|
String |
getType()
|
void |
release()
|
void |
setCount(int count)
In the case that no set is specified and a count is given, this is the number of times to include the enclosed JSP. |
void |
setId(String id)
This is the id of the scripting variable that will contain the current object that you are iterating over. |
void |
setSet(Object set)
This is the set of objects. |
void |
setType(String type)
This is the type of object that results from iterating over the set you passed in. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doEndTag, getBodyContent, getPreviousOut, 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 |
Constructor Detail |
---|
public RepeatTag()
Method Detail |
---|
public void release()
release
in interface Tag
release
in class BodyTagSupport
public void setId(String id)
setId
in class TagSupport
public String getId()
getId
in class TagSupport
public void setSet(Object set)
public Object getSet()
public void setType(String type)
public String getType()
public void setCount(int count)
public int getCount()
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public void doInitBody() throws JspException
doInitBody
in interface BodyTag
doInitBody
in class BodyTagSupport
JspException
public int doAfterBody() throws JspException
doAfterBody
in interface IterationTag
doAfterBody
in class BodyTagSupport
JspException
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |