org.mmbase.bridge.jsp.taglib.security
Class MayReadTag
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.security.MayReadTag
- All Implemented Interfaces:
- BodyTag, Condition, IterationTag, Serializable, Tag
- public class MayReadTag
- extends CloudReferrerTag
- implements Condition
A very simple tag to check if node may be viewed
- Since:
- MMBase-1.8.1
- Version:
- $Id: MayReadTag.java,v 1.1 2006/07/11 20:07:58 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| 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, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inverse
protected Attribute inverse
referid
protected Attribute referid
number
protected Attribute number
MayReadTag
public MayReadTag()
setInverse
public void setInverse(String b)
throws JspTagException
- Description copied from interface:
Condition
- This attribute inverses the sense of the condition.
- Specified by:
setInverse in interface Condition
- Throws:
JspTagException
setNumber
public void setNumber(String n)
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
- Throws:
JspTagException
getInverse
protected boolean getInverse()
throws JspTagException
- Throws:
JspTagException
doStartTag
public int doStartTag()
throws JspTagException
- Specified by:
doStartTag in interface Tag
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspTagException
- Specified by:
doAfterBody in interface IterationTag
- Throws:
JspTagException
MMBase build 1.8.1.20060716