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

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.containers.ListNodesContainerTag
All Implemented Interfaces:
BodyTag, CloudProvider, IterationTag, NodeQueryContainer, QueryContainer, Serializable, Tag, TagIdentifier
Direct Known Subclasses:
RelatedNodesContainerTag

public class ListNodesContainerTag
extends NodeReferrerTag
implements NodeQueryContainer

Container cognate for ListNodesTag.

Since:
MMBase-1.7
Version:
$Id: ListNodesContainerTag.java,v 1.21 2006/07/04 12:16:09 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  Attribute cachePolicy
           
protected  Attribute element
           
protected  String jspVar
           
protected  Attribute nodeManager
           
protected  Attribute nodes
           
protected  Attribute path
           
protected  NodeQuery query
           
protected  Attribute searchDirs
           
 
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
ListNodesContainerTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
           
 int doStartTag()
           
 Cloud getCloudVar()
          Find the CloudProvider and return its cloud variable in one step.
 Object getCurrent()
           
 NodeQuery getNodeQuery()
          Returns the currently by the container defined query object.
 Query getQuery()
          Returns the currently by the container defined query object.
 void setCachepolicy(String t)
           
 void setElement(String e)
          The element attribute is used to access elements of clusternodes.
 void setJspvar(String jv)
           
 void setNodes(String n)
           
 void setPath(String t)
           
 void setSearchdirs(String s)
           
 void setType(String t)
           
 
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, 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, release, 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 org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

query

protected NodeQuery query

cachePolicy

protected Attribute cachePolicy

path

protected Attribute path

searchDirs

protected Attribute searchDirs

nodeManager

protected Attribute nodeManager

element

protected Attribute element

nodes

protected Attribute nodes

jspVar

protected String jspVar
Constructor Detail

ListNodesContainerTag

public ListNodesContainerTag()
Method Detail

setCachepolicy

public void setCachepolicy(String t)
                    throws JspTagException
Throws:
JspTagException
Since:
MMBase-1.8.0

setType

public void setType(String t)
             throws JspTagException
Throws:
JspTagException

setPath

public void setPath(String t)
             throws JspTagException
Throws:
JspTagException

setSearchdirs

public void setSearchdirs(String s)
                   throws JspTagException
Throws:
JspTagException

setElement

public void setElement(String e)
                throws JspTagException
Description copied from class: NodeReferrerTag
The element attribute is used to access elements of clusternodes.

Overrides:
setElement in class NodeReferrerTag
Throws:
JspTagException

setNodes

public void setNodes(String n)
              throws JspTagException
Throws:
JspTagException
Since:
MMBase-1.7.1

setJspvar

public void setJspvar(String jv)
Specified by:
setJspvar in interface QueryContainer
Overrides:
setJspvar in class ContextReferrerTag
Since:
MMBase-1.8.1

getQuery

public Query getQuery()
Description copied from interface: QueryContainer
Returns the currently by the container defined query object. Subtags can use this query object to change it or to use it.

Specified by:
getQuery in interface QueryContainer

getNodeQuery

public NodeQuery getNodeQuery()
Description copied from interface: NodeQueryContainer
Returns the currently by the container defined query object. Subtags can use this query object to change it or to use it.

Specified by:
getNodeQuery in interface NodeQueryContainer

getCloudVar

public Cloud getCloudVar()
                  throws JspTagException
Description copied from class: CloudReferrerTag
Find the CloudProvider and return its cloud variable in one step. And the result of findCloudProvider is stored, so invoking this function more often is better then invoking findCloudProvider every time.

Specified by:
getCloudVar in interface CloudProvider
Overrides:
getCloudVar in class CloudReferrerTag
Returns:
a Cloud
Throws:
JspTagException

doStartTag

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

doAfterBody

public int doAfterBody()
                throws JspTagException
Specified by:
doAfterBody in interface IterationTag
Throws:
JspTagException

doEndTag

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

getCurrent

public Object getCurrent()


MMBase build 1.8.1.20060716