public class ImportTag extends BodyTagSupport implements NameValueTag
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
ImportTag() |
Modifier and Type | Method and Description |
---|---|
void |
addParam(java.lang.String name,
java.lang.String value)
Adds a parameter.
|
int |
doEndTag()
Process the end tag
|
int |
doStartTag()
Process the tag.
|
void |
setCharEncoding(Expr charEncoding)
Sets the external character encoding for the import.
|
void |
setContext(Expr context)
Sets the external context for the import.
|
void |
setScope(java.lang.String scope)
Sets the scope for the result variable for the output.
|
void |
setURL(Expr url)
Sets the URL to be imported.
|
void |
setVar(java.lang.String var)
Sets the variable for the import.
|
void |
setVarReader(java.lang.String varReader)
Sets the variable for the import.
|
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
public void setURL(Expr url)
public void setContext(Expr context)
public void addParam(java.lang.String name, java.lang.String value)
addParam
in interface NameValueTag
public void setCharEncoding(Expr charEncoding)
public void setVar(java.lang.String var)
public void setScope(java.lang.String scope)
public void setVarReader(java.lang.String varReader)
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class BodyTagSupport
JspException
public int doEndTag() throws JspException
doEndTag
in interface Tag
doEndTag
in class TagSupport
JspException