org.mmbase.bridge.jsp.taglib
Class CloudTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--org.mmbase.bridge.jsp.taglib.ContextReferrerTag
|
+--org.mmbase.bridge.jsp.taglib.CloudTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, CloudProvider, java.io.Serializable, javax.servlet.jsp.tagext.Tag, TagIdentifier
- public class CloudTag
- extends ContextReferrerTag
- implements CloudProvider
Creates a cloud object (pulling it from if session necessary). While
creating a cloud object one also has to authenticate itself, so this
functionality is also in this tag.
- Author:
- Pierre van Rooden, Michiel Meeuwissen
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findParentTag, findParentTag, getAttributeValue, getContextTag, getContextTag, getReferid, getReferIdValue, release, setContext, setPageContext, setReferid, stringSplitter, stringSplitter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getParent, getValue, getValues, removeValue, setId, 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 |
CloudTag
public CloudTag()
getDefaultCloudContext
public CloudContext getDefaultCloudContext()
- Returns:
- the default cloud context
setName
public void setName(java.lang.String name)
throws javax.servlet.jsp.JspTagException
setLogon
public void setLogon(java.lang.String l)
throws javax.servlet.jsp.JspTagException
setRank
public void setRank(java.lang.String r)
throws javax.servlet.jsp.JspTagException
setPwd
public void setPwd(java.lang.String pwd)
throws javax.servlet.jsp.JspTagException
setJspvar
public void setJspvar(java.lang.String jv)
setAuthenticate
public void setAuthenticate(java.lang.String authenticate)
setMethod
public void setMethod(java.lang.String m)
throws javax.servlet.jsp.JspTagException
getCloudVar
public Cloud getCloudVar()
- Specified by:
getCloudVar in interface CloudProvider
- Following copied from interface:
org.mmbase.bridge.jsp.taglib.CloudProvider
- Returns:
- the cloud contained in the tag
setCloudVar
public void setCloudVar(Cloud c)
getId
public java.lang.String getId()
- Specified by:
getId in interface TagIdentifier- Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport
- Following copied from interface:
org.mmbase.bridge.jsp.taglib.TagIdentifier
- Returns:
- the String id the the tag. Id is is a user defined
identifier
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Check name and retrieve cloud
- Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
- Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
MMBase 2001