BEA Systems, Inc.

com.beasys.commerce.portal.admin.jsp.tags
Class LicenseTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.beasys.commerce.portal.admin.jsp.tags.LicenseTag

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

Implements the methods necessary to support the license 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
LicenseTag()
           
 
Method Summary
 int doAfterBody()
          Pushes output to the JSP page from the buffered BodyContent.
 int doStartTag()
          Checks the specified License product id against the current product license.
 java.lang.String getId()
           
 java.lang.String getProduct()
           
 void setId(java.lang.String theId)
           
 void setProduct(java.lang.String theProduct)
           
 
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, 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
 

Constructor Detail

LicenseTag

public LicenseTag()
Method Detail

setProduct

public void setProduct(java.lang.String theProduct)

getProduct

public java.lang.String getProduct()

setId

public void setId(java.lang.String theId)
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getId

public java.lang.String getId()
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Checks the specified License product id against the current product license.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Returns:
a value telling the JSP engine to skip 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