org.mmbase.bridge.jsp.taglib.tree
Class LeafConstraintsTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.tree.LeafConstraintsTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, CloudProvider, ContainerReferrer, NodeQueryContainer, QueryContainer, QueryContainerReferrer, TagIdentifier
public class LeafConstraintsTag
- extends ContextReferrerTag
- implements NodeQueryContainer, QueryContainerReferrer
Sub-tag of tree container. Is itself a Query container. It makes it possible to set the 'search constraints on a tree'.
Search constraints do not change the actual tree, but only the 'leaves'. So, it is kind of constraint only valid on the leaves.
This makes it possible to easily search through a tree of objects.
- Since:
- MMBase-1.8
- Version:
- $Id: LeafConstraintsTag.java 35335 2009-05-21 08:14:41Z michiel $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
appendMoreParameters, doCatch, doEndTag, doFinally, fillStandardParameters, findLoopOrQuery, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getCurrentBlock, getDefaultLocale, getEscapedValue, getFormTag, getId, getLocale, getLocaleFromContext, getObject, getObjectConditional, getPageContext, getPageContextTag, getQuery, getReferid, getString, getTaglibVersion, getThreadPageContext, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tree
protected GrowingTreeList tree
LeafConstraintsTag
public LeafConstraintsTag()
setContainer
public void setContainer(String c)
throws JspTagException
- Description copied from interface:
ContainerReferrer
- If it should not use parent container
- Specified by:
setContainer in interface ContainerReferrer
- Throws:
JspTagException
setOn
public void setOn(String c)
throws JspTagException
- Throws:
JspTagException
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
- Specified by:
getCloudVar in interface CloudProvider
- Returns:
- the cloud contained in the tag
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class BodyTagSupport
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspTagException
- Specified by:
doAfterBody in interface IterationTag- Overrides:
doAfterBody in class BodyTagSupport
- Throws:
JspTagException
MMBase 2.0-SNAPSHOT - null