org.mmbase.bridge.jsp.taglib.functions
Class NodeFunctionTag
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
org.mmbase.bridge.jsp.taglib.functions.NodeFunctionTag
- All Implemented Interfaces:
- BodyTag, ContainerReferrer, FunctionContainerOrNodeProvider, FunctionContainerReferrer, IterationTag, NodeProvider, Serializable, Tag, TagIdentifier
- public class NodeFunctionTag
- extends AbstractFunctionTag
- implements NodeProvider, FunctionContainerReferrer
- Since:
- MMBase-1.7
- Version:
- $Id: NodeFunctionTag.java,v 1.11 2005/11/23 10:29:39 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.functions.AbstractFunctionTag |
getFunction, getFunction, getFunctionValue, getFunctionValue, setClassname, setContainer, setModule, setName, setNodemanager, setParameters, setReferids, setSet |
| 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, release, setContext, setEscape, setId, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nodeHelper
protected NodeProviderHelper nodeHelper
NodeFunctionTag
public NodeFunctionTag()
setJspvar
public void setJspvar(String jv)
- Description copied from interface:
NodeProvider
- NodeProviders support the jspvar attribute (giving a Node jsp var object).
- Specified by:
setJspvar in interface NodeProvider- Overrides:
setJspvar in class ContextReferrerTag
getNodeVar
public Node getNodeVar()
- Specified by:
getNodeVar in interface NodeProvider
- Returns:
- the node contained in the tag
NOTE: we have decided to call this method getNodeVar because
we use tag attributes with name "node" and type String
setNodeVar
protected void setNodeVar(Node node)
fillVars
protected void fillVars()
throws JspTagException
- Throws:
JspTagException
getGeneratingQuery
public Query getGeneratingQuery()
throws JspTagException
- Description copied from interface:
NodeProvider
- Returns a query which (a.o) results this Node.
- Specified by:
getGeneratingQuery in interface NodeProvider
- Throws:
JspTagException
setCommitonclose
public void setCommitonclose(String c)
throws JspTagException
- Description copied from interface:
NodeProvider
- Whether the node must be commited after the body of the tag if any changes occured
- Specified by:
setCommitonclose in interface NodeProvider
- Throws:
JspTagException- Since:
- MMBase-1.8
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class ContextReferrerTag
- 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
- Throws:
JspTagException
MMBase build 1.8.1.20060716