Package com.jalios.jtaglib
Class TreeTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- com.jalios.jtaglib.TreeTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.BodyTag
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class TreeTag extends javax.servlet.jsp.tagext.BodyTagSupport implements javax.servlet.jsp.tagext.IterationTag
This tag visits a branch of theTreeNode
tree.- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TreeTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doAfterBody()
int
doStartTag()
void
setCounter(java.lang.String counterName)
void
setName(java.lang.String name)
void
setRoot(TreeNode rootNode)
void
setType(java.lang.String type)
void
setVisite(java.lang.String visite)
void
setVisiteroot(boolean visiteRoot)
-
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, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
setRoot
public void setRoot(TreeNode rootNode)
-
setVisiteroot
public void setVisiteroot(boolean visiteRoot)
-
setVisite
public void setVisite(java.lang.String visite)
-
setCounter
public void setCounter(java.lang.String counterName)
-
setName
public void setName(java.lang.String name)
-
setType
public void setType(java.lang.String type)
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
doAfterBody
public int doAfterBody() throws javax.servlet.jsp.JspException
- Specified by:
doAfterBody
in interfacejavax.servlet.jsp.tagext.IterationTag
- Overrides:
doAfterBody
in classjavax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
-
-