org.apache.strutsel.taglib.bean
Class ELIncludeTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.struts.taglib.bean.IncludeTag
          extended byorg.apache.strutsel.taglib.bean.ELIncludeTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ELIncludeTag
extends org.apache.struts.taglib.bean.IncludeTag

Generate a URL-encoded include to the specified URI.

This class is a subclass of the class org.apache.struts.taglib.bean.IncludeTag which provides most of the described functionality. This subclass allows all attribute values to be specified as expressions utilizing the JavaServer Pages Standard Library expression language.

Version:
$Rev: 54933 $
See Also:
Serialized Form

Field Summary
private  java.lang.String anchorExpr
          Instance variable mapped to "anchor" tag attribute.
private  java.lang.String forwardExpr
          Instance variable mapped to "forward" tag attribute.
private  java.lang.String hrefExpr
          Instance variable mapped to "href" tag attribute.
private  java.lang.String idExpr
          Instance variable mapped to "id" tag attribute.
private  java.lang.String nameExpr
          Instance variable mapped to "name" tag attribute.
private  java.lang.String pageExpr
          Instance variable mapped to "page" tag attribute.
private  java.lang.String transactionExpr
          Instance variable mapped to "transaction" tag attribute.
 
Fields inherited from class org.apache.struts.taglib.bean.IncludeTag
anchor, BUFFER_SIZE, forward, href, id, messages, page, transaction, useLocalEncoding
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext
 
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
ELIncludeTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag.
private  void evaluateExpressions()
          Processes all attribute values which use the JSTL expression evaluation engine to determine their values.
 java.lang.String getAnchorExpr()
          Getter method for "anchor" tag attribute.
 java.lang.String getForwardExpr()
          Getter method for "forward" tag attribute.
 java.lang.String getHrefExpr()
          Getter method for "href" tag attribute.
 java.lang.String getIdExpr()
          Getter method for "id" tag attribute.
 java.lang.String getNameExpr()
          Getter method for "name" tag attribute.
 java.lang.String getPageExpr()
          Getter method for "page" tag attribute.
 java.lang.String getTransactionExpr()
          Getter method for "transaction" tag attribute.
 void release()
          Resets attribute values for tag reuse.
 void setAnchorExpr(java.lang.String anchorExpr)
          Setter method for "anchor" tag attribute.
 void setForwardExpr(java.lang.String forwardExpr)
          Setter method for "forward" tag attribute.
 void setHrefExpr(java.lang.String hrefExpr)
          Setter method for "href" tag attribute.
 void setIdExpr(java.lang.String idExpr)
          Setter method for "id" tag attribute.
 void setNameExpr(java.lang.String nameExpr)
          Setter method for "name" tag attribute.
 void setPageExpr(java.lang.String pageExpr)
          Setter method for "page" tag attribute.
 void setTransactionExpr(java.lang.String transactionExpr)
          Setter method for "transaction" tag attribute.
 
Methods inherited from class org.apache.struts.taglib.bean.IncludeTag
addCookie, getAnchor, getForward, getHref, getId, getPage, getTransaction, isUseLocalEncoding, setAnchor, setForward, setHref, setId, setName, setPage, setTransaction, setUseLocalEncoding
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anchorExpr

private java.lang.String anchorExpr
Instance variable mapped to "anchor" tag attribute. (Mapping set in associated BeanInfo class.)


forwardExpr

private java.lang.String forwardExpr
Instance variable mapped to "forward" tag attribute. (Mapping set in associated BeanInfo class.)


hrefExpr

private java.lang.String hrefExpr
Instance variable mapped to "href" tag attribute. (Mapping set in associated BeanInfo class.)


idExpr

private java.lang.String idExpr
Instance variable mapped to "id" tag attribute. (Mapping set in associated BeanInfo class.)


nameExpr

private java.lang.String nameExpr
Instance variable mapped to "name" tag attribute. (Mapping set in associated BeanInfo class.)


pageExpr

private java.lang.String pageExpr
Instance variable mapped to "page" tag attribute. (Mapping set in associated BeanInfo class.)


transactionExpr

private java.lang.String transactionExpr
Instance variable mapped to "transaction" tag attribute. (Mapping set in associated BeanInfo class.)

Constructor Detail

ELIncludeTag

public ELIncludeTag()
Method Detail

getAnchorExpr

public java.lang.String getAnchorExpr()
Getter method for "anchor" tag attribute. (Mapping set in associated BeanInfo class.)


getForwardExpr

public java.lang.String getForwardExpr()
Getter method for "forward" tag attribute. (Mapping set in associated BeanInfo class.)


getHrefExpr

public java.lang.String getHrefExpr()
Getter method for "href" tag attribute. (Mapping set in associated BeanInfo class.)


getIdExpr

public java.lang.String getIdExpr()
Getter method for "id" tag attribute. (Mapping set in associated BeanInfo class.)


getNameExpr

public java.lang.String getNameExpr()
Getter method for "name" tag attribute. (Mapping set in associated BeanInfo class.)


getPageExpr

public java.lang.String getPageExpr()
Getter method for "page" tag attribute. (Mapping set in associated BeanInfo class.)


getTransactionExpr

public java.lang.String getTransactionExpr()
Getter method for "transaction" tag attribute. (Mapping set in associated BeanInfo class.)


setAnchorExpr

public void setAnchorExpr(java.lang.String anchorExpr)
Setter method for "anchor" tag attribute. (Mapping set in associated BeanInfo class.)


setForwardExpr

public void setForwardExpr(java.lang.String forwardExpr)
Setter method for "forward" tag attribute. (Mapping set in associated BeanInfo class.)


setHrefExpr

public void setHrefExpr(java.lang.String hrefExpr)
Setter method for "href" tag attribute. (Mapping set in associated BeanInfo class.)


setIdExpr

public void setIdExpr(java.lang.String idExpr)
Setter method for "id" tag attribute. (Mapping set in associated BeanInfo class.)


setNameExpr

public void setNameExpr(java.lang.String nameExpr)
Setter method for "name" tag attribute. (Mapping set in associated BeanInfo class.)


setPageExpr

public void setPageExpr(java.lang.String pageExpr)
Setter method for "page" tag attribute. (Mapping set in associated BeanInfo class.)


setTransactionExpr

public void setTransactionExpr(java.lang.String transactionExpr)
Setter method for "transaction" tag attribute. (Mapping set in associated BeanInfo class.)


release

public void release()
Resets attribute values for tag reuse.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start tag.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred

evaluateExpressions

private void evaluateExpressions()
                          throws javax.servlet.jsp.JspException
Processes all attribute values which use the JSTL expression evaluation engine to determine their values.

Throws:
javax.servlet.jsp.JspException - if a JSP exception has occurred


Copyright ? 2000-2005 - The Apache Software Foundation