org.mmbase.bridge.jsp.taglib
Class ImportTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--org.mmbase.bridge.jsp.taglib.ContextReferrerTag
|
+--org.mmbase.bridge.jsp.taglib.WriteTag
|
+--org.mmbase.bridge.jsp.taglib.ImportTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class ImportTag
- extends WriteTag
The importtag puts things in the context. It can find them from the
environment or from its body.
- 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_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
int |
doAfterBody()
|
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
Release all allocated resources. |
void |
setExternid(java.lang.String e)
The extern id it the identifier in some external source. |
void |
setFrom(java.lang.String s)
From which external source |
void |
setRequired(boolean b)
If 'required' then the variable must be available in the
external source, otherwise exception. |
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findParentTag, findParentTag, getAttributeValue, getContextTag, getContextTag, getReferid, getReferIdValue, setContext, setPageContext, setReferid, stringSplitter, stringSplitter |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doInitBody, 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 |
required
protected boolean required
from
protected int from
externid
protected java.lang.String externid
ImportTag
public ImportTag()
release
public void release()
- Release all allocated resources.
- Overrides:
release in class WriteTag
setExternid
public void setExternid(java.lang.String e)
throws javax.servlet.jsp.JspTagException
- The extern id it the identifier in some external source.
setRequired
public void setRequired(boolean b)
- If 'required' then the variable must be available in the
external source, otherwise exception.
setFrom
public void setFrom(java.lang.String s)
throws javax.servlet.jsp.JspTagException
- From which external source
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspTagException
- Overrides:
doStartTag in class WriteTag
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspTagException
- Overrides:
doAfterBody in class WriteTag
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspTagException
- Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
MMBase 2001