org.mmbase.bridge.jsp.taglib
Class ListNodesTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.mmbase.bridge.jsp.taglib.ContextReferrerTag
              extended by org.mmbase.bridge.jsp.taglib.CloudReferrerTag
                  extended by org.mmbase.bridge.jsp.taglib.NodeReferrerTag
                      extended by org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
                          extended by org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
                              extended by org.mmbase.bridge.jsp.taglib.ListNodesTag
All Implemented Interfaces:
Serializable, LoopTag, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, FunctionContainerOrNodeProvider, ContextProvider, ListProvider, NodeProvider, TagIdentifier
Direct Known Subclasses:
UnRelatedNodesTag

public class ListNodesTag
extends AbstractNodeListTag

ListNodesTag, provides functionality for listing single nodes in MMBase

Version:
$Id: ListNodesTag.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Kees Jongenburger, Michiel Meeuwissen, Pierre van Rooden
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
AbstractNodeListTag.NodesAndTrim
 
Nested classes/interfaces inherited from interface org.mmbase.bridge.jsp.taglib.ListProvider
ListProvider.ListProviderLoopTagStatus
 
Field Summary
protected  Attribute container
           
protected  Attribute distinct
           
protected  Attribute element
           
protected  Attribute nodes
           
protected  Attribute path
           
protected  Attribute searchDirs
           
protected  Attribute type
           
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
constraints, directions, listHelper, NOT_HANDLED, orderby, usetransaction
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
fieldEscaper, nodeHelper
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
parentNodeId
 
Fields inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
cloudId
 
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.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
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
 
Constructor Summary
ListNodesTag()
           
 
Method Summary
 int doStartTag()
          Performs the search
protected  NodeQuery getQuery()
           
 void setContainer(String c)
           
 void setDistinct(String d)
           
 void setElement(String e)
          The element attribute is used to access elements of clusternodes.
 void setNodes(String n)
           
 void setPath(String p)
           
 void setSearchdirs(String s)
           
 void setType(String t)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeListTag
doAfterBody, doEndTag, doFinally, doStartTagHelper, getContextContainer, getCurrent, getGeneratingQuery, getIndex, getIndexOffset, getLoopStatus, getNodeList, getNodesAndTrim, getNodesAndTrim, getReturnList, isChanged, remove, setAdd, setComparator, setConstraints, setDirections, setMax, setOffset, setOrderby, setRemove, setRetain, setReturnValues, setReturnValues, setUsetransaction, setVarStatus, size
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.AbstractNodeProviderTag
fillVars, getNodeVar, setCommitonclose, setFieldescape, setJspvar, setNodeVar
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.NodeReferrerTag
fillStandardParameters, findNode, findNodeProvider, findNodeProvider, getCloudVar, getLocale, getNode, getNode, getNodeFromPageContext, initTag, 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
appendMoreParameters, doCatch, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setListdelimiter, setPageContext, setPageContextOnly, 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.ContextProvider
getPageContext
 
Methods inherited from interface org.mmbase.bridge.jsp.taglib.TagIdentifier
getId
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, release, setPageContext, setParent
 

Field Detail

type

protected Attribute type

container

protected Attribute container

path

protected Attribute path

element

protected Attribute element

searchDirs

protected Attribute searchDirs

nodes

protected Attribute nodes

distinct

protected Attribute distinct
Constructor Detail

ListNodesTag

public ListNodesTag()
Method Detail

setContainer

public void setContainer(String c)
                  throws JspTagException
Throws:
JspTagException

setType

public void setType(String t)
             throws JspTagException
Parameters:
t - The name of a node manager
Throws:
JspTagException

setPath

public void setPath(String p)
             throws JspTagException
Throws:
JspTagException
Since:
MMBase-1.7.1

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
Since:
MMBase-1.7.1

setSearchdirs

public void setSearchdirs(String s)
                   throws JspTagException
Throws:
JspTagException
Since:
MMBase-1.7.1

setNodes

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

setDistinct

public void setDistinct(String d)
                 throws JspTagException
Throws:
JspTagException
Since:
MMBase-1.8

getQuery

protected NodeQuery getQuery()
                      throws JspTagException
Throws:
JspTagException
Since:
MMBase-1.7

doStartTag

public int doStartTag()
               throws JspTagException
Performs the search

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class NodeReferrerTag
Throws:
JspTagException


MMBase 2.0-SNAPSHOT - null