com.iplanet.jato.taglib.tree
Class TreeNodeTag

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.TreeNodeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Version:
JATO/1.2.2 $Id: TreeNodeTag.java,v 1.11 2002/03/16 03:26:37 todd Exp $
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
TreeNodeTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 javax.servlet.jsp.tagext.BodyContent getBodyContent()
           
 java.lang.String getHasChildren()
           
 java.lang.String getIsExpanded()
           
 java.lang.String getNodeName()
           
 java.lang.String getNodeType()
           
protected  boolean matchHasChildren(TreeView tv)
           
protected  boolean matchIsExpanded(TreeView tv)
           
protected  boolean matchNode()
           
protected  boolean matchNodeName(TreeView tv)
           
protected  boolean matchNodeType(TreeView tv)
           
 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 setHasChildren(java.lang.String value)
           
 void setIsExpanded(java.lang.String value)
           
 void setNodeName(java.lang.String value)
           
 void setNodeType(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

TreeNodeTag

public TreeNodeTag()
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

matchNode

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

matchNodeName

protected boolean matchNodeName(TreeView tv)
                         throws javax.servlet.jsp.JspException,
                                ModelControlException

matchNodeType

protected boolean matchNodeType(TreeView tv)
                         throws javax.servlet.jsp.JspException,
                                ModelControlException

matchHasChildren

protected boolean matchHasChildren(TreeView tv)
                            throws javax.servlet.jsp.JspException

matchIsExpanded

protected boolean matchIsExpanded(TreeView tv)
                           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

getNodeName

public java.lang.String getNodeName()

setNodeName

public void setNodeName(java.lang.String value)

getNodeType

public java.lang.String getNodeType()

setNodeType

public void setNodeType(java.lang.String value)

getHasChildren

public java.lang.String getHasChildren()

setHasChildren

public void setHasChildren(java.lang.String value)

getIsExpanded

public java.lang.String getIsExpanded()

setIsExpanded

public void setIsExpanded(java.lang.String value)