org.mmbase.bridge.jsp.taglib
Interface NodeProvider

All Superinterfaces:
FunctionContainerOrNodeProvider, TagIdentifier
All Known Subinterfaces:
ClusterNodeProvider, TreeProvider
All Known Implementing Classes:
AbstractNodeListTag, AbstractNodeProviderTag, CreateNodeTag, CreateRelationTag, DeleteNodeTag, ListNodesTag, ListRelationsTag, ListTag, NodeFunctionTag, NodeListFunctionTag, NodeManagerTag, NodeProviderHelper, NodeTag, RelatedNodesTag, RelatedNodeTag, RelatedTag, TreeTag, UnRelatedNodesTag

public interface NodeProvider
extends TagIdentifier, FunctionContainerOrNodeProvider

Interface designed to make it possible for child tags to access a node defined in a tag

Version:
$Id: NodeProvider.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Michiel Meeuwissen

Method Summary
 Query getGeneratingQuery()
          Returns a query which (a.o) results this Node.
 Node getNodeVar()
           
 void setCommitonclose(String c)
          Whether the node must be commited after the body of the tag if any changes occured
 void setJspvar(String jv)
          NodeProviders support the jspvar attribute (giving a Node jsp var object).
 
Methods inherited from interface org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 

Method Detail

getNodeVar

Node getNodeVar()
                throws JspTagException
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
Throws:
JspTagException

setJspvar

void setJspvar(String jv)
NodeProviders support the jspvar attribute (giving a Node jsp var object).


getGeneratingQuery

Query getGeneratingQuery()
                         throws JspTagException
Returns a query which (a.o) results this Node.

Throws:
JspTagException
Since:
MMBase-1.8
To Do:
EXPERIMENTAL

setCommitonclose

void setCommitonclose(String c)
                      throws JspTagException
Whether the node must be commited after the body of the tag if any changes occured

Throws:
JspTagException
Since:
MMBase-1.8


MMBase 2.0-SNAPSHOT - null