com.caucho.jstl.rt
Class CoreImportTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.caucho.jstl.rt.CoreImportTag
All Implemented Interfaces:
NameValueTag, java.io.Serializable, BodyTag, IterationTag, JspTag, Tag

public class CoreImportTag
extends BodyTagSupport
implements NameValueTag

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
CoreImportTag()
           
 
Method Summary
 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(java.lang.String charEncoding)
          Sets the external character encoding for the import.
 void setContext(java.lang.String 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(java.lang.String 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.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, 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, setPageContext, setParent
 

Constructor Detail

CoreImportTag

public CoreImportTag()
Method Detail

setURL

public void setURL(java.lang.String url)
Sets the URL to be imported.


setContext

public void setContext(java.lang.String context)
Sets the external context for the import.


addParam

public void addParam(java.lang.String name,
                     java.lang.String value)
Adds a parameter.

Specified by:
addParam in interface NameValueTag

setCharEncoding

public void setCharEncoding(java.lang.String charEncoding)
Sets the external character encoding for the import.


setVar

public void setVar(java.lang.String var)
Sets the variable for the import.


setScope

public void setScope(java.lang.String scope)
Sets the scope for the result variable for the output.


setVarReader

public void setVarReader(java.lang.String varReader)
Sets the variable for the import.


doStartTag

public int doStartTag()
               throws JspException
Process the tag.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Process the end tag

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Returns:
EVAL_PAGE to continue the page SKIP_PAGE to stop.
Throws:
JspException