BEA Systems, Inc.

com.beasys.commerce.portal.jsp.tags
Class EvalTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.beasys.commerce.portal.jsp.tags.EvalTag
Direct Known Subclasses:
AdminEvalTag

public class EvalTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Implements the methods necessary to support the eval tag.

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
 
Constructor Summary
EvalTag()
           
 
Method Summary
 int doAfterBody()
          Pushes output to the JSP page from the buffered BodyContent.
 int doStartTag()
          Evaluates the requested Portlet property and if the property value is true, returns a value to the JSP engine directing it to evaluate the eval tag body.
 java.lang.String getTag()
          Get the value of the tag.
 Portlet getTarget()
          Get the value of the Portlet.
 void setTag(java.lang.String theTag)
          Set the value of the tag.
 void setTarget(Portlet theTarget)
          Set the value of the Portlet.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, 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
 

Constructor Detail

EvalTag

public EvalTag()
Method Detail

setTag

public void setTag(java.lang.String theTag)
Set the value of the tag.
Parameters:
theTag - Value to assign to tag.

getTag

public java.lang.String getTag()
Get the value of the tag.
Returns:
Value of the tag.

setTarget

public void setTarget(Portlet theTarget)
Set the value of the Portlet.
Parameters:
theTarget - Value to assign to portlet object.

getTarget

public Portlet getTarget()
Get the value of the Portlet.
Returns:
Value of the Portlet.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Evaluates the requested Portlet property and if the property value is true, returns a value to the JSP engine directing it to evaluate the eval tag body.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
a value telling the JSP engine to evaluate the body of the tag or to skip it.

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Pushes output to the JSP page from the buffered BodyContent.
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
a value telling the JSP engine we are done evaluating the body and no more iterations are necessary.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved