com.sun.j2ee.blueprints.petstore.taglib
Class ProductDetailsAttributeTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.sun.j2ee.blueprints.petstore.taglib.ProductDetailsAttributeTag

public class ProductDetailsAttributeTag
extends javax.servlet.jsp.tagext.TagSupport

See Also:
Serialized Form

Field Summary
protected  java.lang.String attribute
           
protected  Item curItem
           
protected  Product curProduct
           
protected  InventoryWebImpl inventory
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
ProductDetailsAttributeTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
protected  java.lang.String sendDetails()
           
 void setAttribute(java.lang.String attribute)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

curProduct

protected Product curProduct

curItem

protected Item curItem

inventory

protected InventoryWebImpl inventory

attribute

protected java.lang.String attribute
Constructor Detail

ProductDetailsAttributeTag

public ProductDetailsAttributeTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

setAttribute

public void setAttribute(java.lang.String attribute)

doEndTag

public int doEndTag()
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport

sendDetails

protected java.lang.String sendDetails()


Copyright © 2000 Sun Microsystems Inc. All Rights Reserved.