com.iplanet.jato.taglib.tree
Class TreeNodeLevelTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.iplanet.jato.taglib.TagBase
              |
              +--com.iplanet.jato.taglib.DisplayFieldTagBase
                    |
                    +--com.iplanet.jato.taglib.tree.TreeTagBase
                          |
                          +--com.iplanet.jato.taglib.tree.TreeNodeLevelTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class TreeNodeLevelTag
extends TreeTagBase
implements javax.servlet.jsp.tagext.BodyTag

See Also:
Serialized Form

Fields inherited from class com.iplanet.jato.taglib.DisplayFieldTagBase
FORMATTING_ENABLED
 
Fields inherited from class com.iplanet.jato.taglib.TagBase
USE_TEI, VAR_CURRENT_CONTAINER_VIEW, VAR_CURRENT_TILED_VIEW
 
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
 
Constructor Summary
TreeNodeLevelTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 javax.servlet.jsp.tagext.BodyContent getBodyContent()
           
 java.lang.String getMaxLevel()
           
protected  int getMaxLevelInt()
           
 java.lang.String getMinLevel()
           
protected  int getMinLevelInt()
           
 java.lang.String getOffset()
           
protected  int getOffsetInt()
           
protected  boolean matchLevel()
           
protected  boolean matchMaxLevel(int actualLevel)
           
protected  boolean matchMinLevel(int actualLevel)
           
 void reset()
          Reset any cached state to allow for a new rendering of this tag instance
 void setBodyContent(javax.servlet.jsp.tagext.BodyContent value)
           
 void setMaxLevel(java.lang.String value)
           
 void setMinLevel(java.lang.String value)
           
 void setOffset(java.lang.String value)
           
 
Methods inherited from class com.iplanet.jato.taglib.tree.TreeTagBase
getParentTreeView
 
Methods inherited from class com.iplanet.jato.taglib.DisplayFieldTagBase
appendCommonHtmlAttributes, appendExtraHtml, appendJavaScriptAttributes, formatValue, getAccessKey, getAlt, getDefaultValue, getDisabled, getExtraHtml, getFormatMask, getFormatType, getOnBlur, getOnChange, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getTabIndex, setAccessKey, setAlt, setDefaultValue, setDisabled, setExtraHtml, setFormatMask, setFormatType, setOnBlur, setOnChange, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setTabIndex
 
Methods inherited from class com.iplanet.jato.taglib.TagBase
appendStyleAttributes, checkChildType, fireBeginDisplayEvent, fireEndDisplayEvent, getElementId, getFireDisplayEvents, getName, getParentContainerView, getParentContainerViewTag, getParentViewBean, getRequestContext, getStyle, getStyleClass, getValue, getValueMap, getValues, isTrue, peekContextValue, popContainerView, popContextValue, popPageletContainerViewTag, pushContainerView, pushContextValue, pushPageletContainerViewTag, release, removeValue, setElementId, setFireDisplayEvents, setName, setStyle, setStyleClass, setValue, shouldFireDisplayEvents, writeOutput, writeOutput, writeOutput
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, setId, setPageContext, setParent
 
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, release, setPageContext, setParent
 

Constructor Detail

TreeNodeLevelTag

public TreeNodeLevelTag()
Method Detail

reset

public void reset()
Description copied from class: TagBase
Reset any cached state to allow for a new rendering of this tag instance
Overrides:
reset in class TagBase

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

doInitBody

public void doInitBody()
                throws javax.servlet.jsp.JspException
Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.BodyTag

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

matchLevel

protected boolean matchLevel()
                      throws javax.servlet.jsp.JspException,
                             ModelControlException

matchMinLevel

protected boolean matchMinLevel(int actualLevel)
                         throws javax.servlet.jsp.JspException

matchMaxLevel

protected boolean matchMaxLevel(int actualLevel)
                         throws javax.servlet.jsp.JspException

getBodyContent

public javax.servlet.jsp.tagext.BodyContent getBodyContent()

setBodyContent

public void setBodyContent(javax.servlet.jsp.tagext.BodyContent value)
Specified by:
setBodyContent in interface javax.servlet.jsp.tagext.BodyTag

getMinLevel

public java.lang.String getMinLevel()

getMinLevelInt

protected int getMinLevelInt()

setMinLevel

public void setMinLevel(java.lang.String value)

getMaxLevel

public java.lang.String getMaxLevel()

getMaxLevelInt

protected int getMaxLevelInt()

setMaxLevel

public void setMaxLevel(java.lang.String value)

getOffset

public java.lang.String getOffset()

getOffsetInt

protected int getOffsetInt()

setOffset

public void setOffset(java.lang.String value)