org.mmbase.bridge.jsp.taglib.containers
Class ListNodesContainerTag
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.containers.ListNodesContainerTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, CloudProvider, NodeQueryContainer, QueryContainer, TagIdentifier
- Direct Known Subclasses:
- RelatedNodesContainerTag
public class ListNodesContainerTag
- extends NodeReferrerTag
- implements NodeQueryContainer
Container cognate for ListNodesTag.
- Since:
- MMBase-1.7
- Version:
- $Id: ListNodesContainerTag.java 37048 2009-07-20 13:59:13Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
appendMoreParameters, doCatch, doFinally, 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, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
protected NodeQueryWrapper query
prevQuery
protected Object prevQuery
cachePolicy
protected Attribute cachePolicy
path
protected Attribute path
searchDirs
protected Attribute searchDirs
nodeManager
protected Attribute nodeManager
element
protected Attribute element
nodes
protected Attribute nodes
clone
protected Attribute clone
markused
protected Attribute markused
jspVar
protected String jspVar
ListNodesContainerTag
public ListNodesContainerTag()
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
setClone
public void setClone(String c)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8.6
setMarkused
public void setMarkused(String mu)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.8.6
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 NodeReferrerTag
- Returns:
- a Cloud
- Throws:
JspTagException
toNodeQuery
static NodeQuery toNodeQuery(CloudReferrerTag ct,
Object o)
throws JspTagException
- Throws:
JspTagException- Since:
- MMBase-1.9.1
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class NodeReferrerTag
- Throws:
JspException
doAfterBody
public int doAfterBody()
throws JspTagException
- Specified by:
doAfterBody in interface IterationTag- Overrides:
doAfterBody in class BodyTagSupport
- Throws:
JspTagException
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class NodeReferrerTag
- Throws:
JspTagException
getCurrent
public Object getCurrent()
MMBase 2.0-SNAPSHOT - null