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
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 |
AdTargetTag
public AdTargetTag()
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