org.mmbase.bridge.jsp.taglib
Class CloudReferrerTag
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
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- CommitTag, InfoTag, MayCreateTag, NodeReferrerTag, TransactionTag, UrlTag
- public abstract class CloudReferrerTag
- extends ContextReferrerTag
Tags which are meant to live as a child of the CloudTag, could extend this
class.
- Author:
- 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_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 |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findParentTag, findParentTag, findWriter, findWriter, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContextTag, getObject, getReferid, getString, release, setContext, setPageContext, setReferid, setWriter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, 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 |
CloudReferrerTag
public CloudReferrerTag()
setCloud
public void setCloud(java.lang.String c)
- If there are more clouds to choose from, you can have a 'cloud'
attribute in your tag, in wich you can indicate the id of the
cloud you mean.
findCloudProvider
protected CloudProvider findCloudProvider()
throws javax.servlet.jsp.JspTagException
- This method tries to find an ancestor object of type CloudProvider.
- Returns:
- the CloudTag if found, else an exception.
findCloudProvider
public CloudProvider findCloudProvider(boolean throwexception)
throws javax.servlet.jsp.JspTagException
- This method tries to find an ancestor object of type CloudProvider.
- Returns:
- the CloudProvider or null.
getCloud
public Cloud getCloud()
throws javax.servlet.jsp.JspTagException
- Find the CloudProvider and return its cloud variable in one
step. And the result of findCloudProvider is stored, so
invoking this function more often is better then invoking
findCloudProvider every time.
- Returns:
- a Cloud
getCloudContext
protected CloudContext getCloudContext()
- Returns:
- the cloud context
getNode
protected Node getNode(java.lang.String key)
throws javax.servlet.jsp.JspTagException
getNodeOrNull
protected Node getNodeOrNull(java.lang.String key)
throws javax.servlet.jsp.JspTagException
- Gets a node from the context.
MMBase build 1.6.5.20030923