org.mmbase.bridge.jsp.taglib
Class NodeTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.mmbase.bridge.jsp.taglib.ContextReferrerTag
                    |
                    +--org.mmbase.bridge.jsp.taglib.CloudReferrerTag
                          |
                          +--org.mmbase.bridge.jsp.taglib.NodeReferrerTag
                                |
                                +--org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
                                      |
                                      +--org.mmbase.bridge.jsp.taglib.NodeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, NodeProvider, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier
Direct Known Subclasses:
ChannelTag, CommunityTag, ConnectionTag, CreateNodeTag, CreateRelationTag, DeleteAllTag, DeleteNodeTag, DeleteTag, LogTag, TestChannelTag

public class NodeTag
extends AbstractNodeProviderTag
implements javax.servlet.jsp.tagext.BodyTag

NodeTag provides the fields of a node

Author:
Rob Vermeulen, Michiel Meeuwissen
See Also:
Serialized Form

Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, PAGE_CATEGORY, pageContextTag, referid, writerid
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
NodeTag()
           
 
Method Summary
 int doAfterBody()
          this method writes the content of the body back to the jsp page
 int doEndTag()
           
 void doInitBody()
           
 int doStartTag()
           
 void release()
          Release all allocated resources.
 void setElement(java.lang.String e)
          The element attribute is used to access elements of clusternodes.
 void setNotfound(java.lang.String i)
           
 void setNumber(java.lang.String number)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
fillVars, getNodeVar, setJspvar, setModified, setNodeVar
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
findNodeProvider, findNodeProvider, getNode, setNode
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloud, getCloudContext, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, findWriter, findWriter, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, setContext, setPageContext, setReferid, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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.BodyTag
setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 
Methods inherited from interface org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 

Constructor Detail

NodeTag

public NodeTag()
Method Detail

release

public void release()
Release all allocated resources.
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class ContextReferrerTag

setNumber

public void setNumber(java.lang.String number)
               throws javax.servlet.jsp.JspTagException

setNotfound

public void setNotfound(java.lang.String i)
                 throws javax.servlet.jsp.JspTagException

setElement

public void setElement(java.lang.String e)
                throws javax.servlet.jsp.JspTagException
The element attribute is used to access elements of clusternodes.

doStartTag

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

doInitBody

public void doInitBody()
                throws javax.servlet.jsp.JspTagException
Specified by:
doInitBody in interface javax.servlet.jsp.tagext.BodyTag
Overrides:
doInitBody in class AbstractNodeProviderTag

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
this method writes the content of the body back to the jsp page
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class AbstractNodeProviderTag

doEndTag

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


MMBase build 1.6.5.20030923