org.mmbase.bridge.jsp.taglib
Class NodeTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended byorg.mmbase.bridge.jsp.taglib.CloudReferrerTag
                  extended byorg.mmbase.bridge.jsp.taglib.NodeReferrerTag
                      extended byorg.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
                          extended byorg.mmbase.bridge.jsp.taglib.NodeTag
All Implemented Interfaces:
BodyTag, FunctionContainerOrNodeProvider, IterationTag, NodeProvider, Serializable, Tag, TagIdentifier
Direct Known Subclasses:
CreateNodeTag, CreateRelationTag, DeleteNodeTag

public class NodeTag
extends AbstractNodeProviderTag
implements BodyTag

NodeTag provides the fields of a node

Version:
$Id: NodeTag.java,v 1.63 2006/07/08 13:02:08 michiel Exp $
Author:
Rob Vermeulen, Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
fieldEscaper, nodeHelper
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
parentNodeId
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
contextId, EVAL_BODY, helper, id, pageContextTag, referid, writerid
 
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
NodeTag()
           
 
Method Summary
 int doAfterBody()
          this method writes the content of the body back to the jsp page
 int doEndTag()
           
 int doStartTag()
           
 void release()
          Release all allocated resources.
 void setElement(String e)
          The element attribute is used to access elements of clusternodes.
 void setNotfound(String i)
           
 void setNumber(String number)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
fillVars, getGeneratingQuery, getNodeVar, setCommitonclose, setFieldescape, setJspvar, setNodeVar
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
fillStandardParameters, findNodeProvider, findNodeProvider, getLocale, getNode, setNode
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
findCloudProvider, findCloudProvider, getCloudContext, getCloudVar, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, setContext, setEscape, setId, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, 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
doInitBody, 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 Tag
Overrides:
release in class AbstractNodeProviderTag

setNumber

public void setNumber(String number)
               throws JspTagException
Throws:
JspTagException

setNotfound

public void setNotfound(String i)
                 throws JspTagException
Throws:
JspTagException

setElement

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

Overrides:
setElement in class NodeReferrerTag
Throws:
JspTagException

doStartTag

public int doStartTag()
               throws JspTagException
Specified by:
doStartTag in interface Tag
Throws:
JspTagException

doAfterBody

public int doAfterBody()
                throws JspTagException
this method writes the content of the body back to the jsp page

Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class AbstractNodeProviderTag
Throws:
JspTagException

doEndTag

public int doEndTag()
             throws JspTagException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class AbstractNodeProviderTag
Throws:
JspTagException


MMBase build 1.8.1.20060716