org.mmbase.bridge.jsp.taglib.containers
Class QueryConstraintTag
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.containers.QueryConstraintTag
- All Implemented Interfaces:
- Serializable, BodyTag, IterationTag, JspTag, Tag, TryCatchFinally, ContainerReferrer, QueryContainerReferrer
public class QueryConstraintTag
- extends CloudReferrerTag
- implements QueryContainerReferrer
The most general 'constraint' tag. Constraints are constructed with a bunch of attributes.
- Since:
- MMBase-1.7
- Version:
- $Id: QueryConstraintTag.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, 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, setJspvar, setListdelimiter, setPageContext, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected Attribute container
operator
protected Attribute operator
field
protected Attribute field
value
protected Attribute value
referid
protected Attribute referid
value2
protected Attribute value2
referid2
protected Attribute referid2
inverse
protected Attribute inverse
field2
protected Attribute field2
caseSensitive
protected Attribute caseSensitive
part
protected Attribute part
QueryConstraintTag
public QueryConstraintTag()
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
setField
public void setField(String f)
throws JspTagException
- Throws:
JspTagException
setField2
public void setField2(String f)
throws JspTagException
- Throws:
JspTagException
setValue
public void setValue(String v)
throws JspTagException
- Throws:
JspTagException
setValue2
public void setValue2(String v)
throws JspTagException
- Throws:
JspTagException
setReferid
public void setReferid(String r)
throws JspTagException
- Description copied from class:
ContextReferrerTag
- ContextReferrers normally can have the attribute 'referid'. If
a ContextReferrer has the 'id' attribute it registers its
output in the surrounding Context. With 'referid' you can 'repeat' a
tag which had the 'id' attribute.
- Overrides:
setReferid in class ContextReferrerTag
- Parameters:
r - referid value
- Throws:
JspTagException - when parsing of attributes fails
setReferid2
public void setReferid2(String r)
throws JspTagException
- Throws:
JspTagException
setOperator
public void setOperator(String o)
throws JspTagException
- Throws:
JspTagException
setInverse
public void setInverse(String i)
throws JspTagException
- Throws:
JspTagException
setCasesensitive
public void setCasesensitive(String c)
throws JspTagException
- Throws:
JspTagException
setPart
public void setPart(String p)
throws JspTagException
- Throws:
JspTagException
getCaseSensitive
public boolean getCaseSensitive()
throws JspTagException
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag- Overrides:
doStartTag in class BodyTagSupport
- Throws:
JspTagException
MMBase 2.0-SNAPSHOT - null