org.mmbase.bridge.jsp.taglib.containers
Class FunctionContainerTag

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.functions.AbstractFunctionTag
                          extended byorg.mmbase.bridge.jsp.taglib.containers.FunctionContainerTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, FunctionContainer, FunctionContainerOrNodeProvider, javax.servlet.jsp.tagext.IterationTag, ParamHandler, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier

public class FunctionContainerTag
extends AbstractFunctionTag
implements FunctionContainer

Function Container can be used around Function (-like) Tags.

Since:
MMBase-1.7
Version:
$Id: FunctionContainerTag.java,v 1.11.2.1 2004/07/05 17:20:00 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Nested Class Summary
 class FunctionContainerTag.ParameterEntry
           
 
Nested classes inherited from class org.mmbase.bridge.jsp.taglib.containers.FunctionContainer
FunctionContainer.Entry
 
Field Summary
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.functions.AbstractFunctionTag
container, functionSet, module, name, nodeManager, parametersAttr, referids
 
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
FunctionContainerTag()
           
 
Method Summary
 void addParameter(java.lang.String key, java.lang.Object value)
           
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getName()
          Returns the function-name.
 java.util.List getParameters()
          Gets the parameters (provided by param sub-tags, referid).
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.functions.AbstractFunctionTag
fillStandardParameters, getFunction, getFunctionValue, setContainer, setModule, setName, setNodemanager, setParameters, setReferids, setSet
 
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, getCloudVar, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getId, getLocale, getObject, getPageContext, getReferid, getString, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, 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 org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Constructor Detail

FunctionContainerTag

public FunctionContainerTag()
Method Detail

addParameter

public void addParameter(java.lang.String key,
                         java.lang.Object value)
                  throws javax.servlet.jsp.JspTagException
Specified by:
addParameter in interface ParamHandler
Throws:
javax.servlet.jsp.JspTagException

getParameters

public java.util.List getParameters()
Description copied from interface: FunctionContainer
Gets the parameters (provided by param sub-tags, referid).

Specified by:
getParameters in interface FunctionContainer
Returns:
List of parameters (in order of setting if there was no definition)
See Also:
ParamHandler.addParameter(java.lang.String, java.lang.Object)

getName

public java.lang.String getName()
                         throws javax.servlet.jsp.JspTagException
Description copied from interface: FunctionContainer
Returns the function-name.

Specified by:
getName in interface FunctionContainer
Returns:
The name of the function to be evaluated (or null, it this remains unspecified).
Throws:
javax.servlet.jsp.JspTagException

doStartTag

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

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspTagException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Throws:
javax.servlet.jsp.JspTagException

doEndTag

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


MMBase build 1.7.1.20041002