AdTargetTag Class

com.bea.p13n.ad.servlets.jsp.taglib
AdTargetTag Class

public class AdTargetTag

    extends TagSupport

Tag class to implement a AdTarget on a page.

This expects the AdService to use to be found at "java:comp/env/AdService".


Hierarchy
Object
  TagSupport
    AdTargetTag
All Implemented Interfaces

IterationTag, Serializable, Tag

Field Summary

   
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

AdTargetTag()

 

Method Summary

public int
doStartTag()
Return the content for the named placeholder to the JSP page.
public void
release()
Release any resources or variables.
public void
setHeight(String str)
Set the height property.
public void
setHeight(int height)
Set the height property.
public void
setQuery(String query)
Set the query property.
public void
setWidth(int width)
Set the width property
public void
setWidth(String str)
Set the width property
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Constructor Detail

AdTargetTag

public AdTargetTag()
 

Method Detail

doStartTag() Method

public int doStartTag()
throws JspException
Return the content for the named placeholder to the JSP page.

Overrides
TagSupport.doStartTag()

Exceptions

JspException

release() Method

public void release()
Release any resources or variables.

Overrides
TagSupport.release()

setHeight(String) Method

public void setHeight(String str)
Set the height property.

Parameters

str
height of the placeholder

setHeight(int) Method

public void setHeight(int height)
Set the height property.

Parameters

height
integer height of the placeholder

setQuery(String) Method

public void setQuery(String query)
Set the query property.

Parameters

query
String name of the placeholder

setWidth(int) Method

public void setWidth(int width)
Set the width property

Parameters

width
integer width of the placeholder

setWidth(String) Method

public void setWidth(String str)
Set the width property

Parameters

str
width of the placeholder