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

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.containers.QueryTypeConstraintTag
All Implemented Interfaces:
BodyTag, ContainerReferrer, IterationTag, QueryContainerReferrer, Serializable, Tag

public class QueryTypeConstraintTag
extends CloudReferrerTag
implements QueryContainerReferrer

Type as constraint.

Since:
MMBase-1.8
Version:
$Id: QueryTypeConstraintTag.java,v 1.4 2005/05/02 11:54:31 michiel Exp $
Author:
Michiel Meeuwissen
See Also:
Serialized Form

Field Summary
protected  Attribute container
           
protected  Attribute descendants
           
protected  Attribute element
           
protected  Attribute inverse
           
protected  Attribute name
           
 
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
QueryTypeConstraintTag()
           
 
Method Summary
 int doStartTag()
           
protected  SortedSet getOTypes(List names)
           
 void setContainer(String c)
          If it should not use parent container
 void setDescendants(String d)
           
 void setElement(String e)
           
 void setInverse(String i)
           
 void setName(String n)
           
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.CloudReferrerTag
fillStandardParameters, findCloudProvider, findCloudProvider, getCloudContext, getCloudVar, getLocale, getNode, getNodeOrNull, setCloud
 
Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag
doEndTag, 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, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, 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 javax.servlet.jsp.tagext.Tag
getParent, setParent
 

Field Detail

container

protected Attribute container

element

protected Attribute element

name

protected Attribute name

inverse

protected Attribute inverse

descendants

protected Attribute descendants
Constructor Detail

QueryTypeConstraintTag

public QueryTypeConstraintTag()
Method Detail

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

setElement

public void setElement(String e)
                throws JspTagException
Throws:
JspTagException

setName

public void setName(String n)
             throws JspTagException
Throws:
JspTagException

setInverse

public void setInverse(String i)
                throws JspTagException
Throws:
JspTagException

setDescendants

public void setDescendants(String d)
                    throws JspTagException
Throws:
JspTagException

getOTypes

protected SortedSet getOTypes(List names)
                       throws JspTagException
Throws:
JspTagException

doStartTag

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


MMBase build 1.8.1.20060716