org.mmbase.bridge.jsp.taglib.functions
Class AbstractFunctionTag
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.functions.AbstractFunctionTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- BooleanFunctionTag, FunctionContainerTag, FunctionTag, ListFunctionTag, NodeFunctionTag, NodeListFunctionTag, VoidFunctionTag
- public abstract class AbstractFunctionTag
- extends NodeReferrerTag
The function tags can be used as a child of a 'NodeProvider' tag (but not on clusternodes?), but
it can also be used stand alone, when using the attributes to specify on which object the
function must be called (besides nodes, it can be called on node-manager, modules, sets).
This is the absctract implementation, providing only the result of the function. The several
extensions cast to the right type, and handle it on a specific way.
- Since:
- MMBase-1.7
- Version:
- $Id: AbstractFunctionTag.java,v 1.5.2.3 2004/07/26 20:12:20 nico Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| 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 |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
doEndTag, 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 |
doAfterBody, doInitBody, doStartTag, 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.Tag |
getParent, setParent |
container
protected Attribute container
name
protected Attribute name
parametersAttr
protected Attribute parametersAttr
module
protected Attribute module
nodeManager
protected Attribute nodeManager
functionSet
protected Attribute functionSet
referids
protected Attribute referids
AbstractFunctionTag
public AbstractFunctionTag()
setName
public void setName(java.lang.String n)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setContainer
public void setContainer(java.lang.String c)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setParameters
public void setParameters(java.lang.String p)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setModule
public void setModule(java.lang.String m)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setNodemanager
public void setNodemanager(java.lang.String n)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setSet
public void setSet(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
setReferids
public void setReferids(java.lang.String r)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getFunction
protected final Function getFunction(java.lang.String functionName)
throws javax.servlet.jsp.JspTagException
- Gets function object, and checks consistency of attributes.
- Throws:
javax.servlet.jsp.JspTagException
fillStandardParameters
protected final void fillStandardParameters(Parameters p)
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
getFunctionValue
protected final java.lang.Object getFunctionValue()
throws javax.servlet.jsp.JspTagException
- Throws:
javax.servlet.jsp.JspTagException
MMBase build 1.7.1.20041002