|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.bea.p13n.ad.servlets.jsp.taglib.AdTargetTag
public class AdTargetTag
Tag class to implement a AdTarget on a page.
This expects the AdService to use to be found at "java:comp/env/AdService".
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
AdTargetTag()
|
|
| Method Summary | |
|---|---|
int |
doStartTag()
Return the content for the named placeholder to the JSP page. |
void |
release()
Release any resources or variables. |
void |
setHeight(int height)
Set the height property. |
void |
setHeight(String str)
Set the height property. |
void |
setQuery(String query)
Set the query property. |
void |
setWidth(int width)
Set the width property |
void |
setWidth(String str)
Set the width property |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, 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 |
|---|
public AdTargetTag()
| Method Detail |
|---|
public void setQuery(String query)
query - String name of the placeholderpublic void setHeight(String str)
height - height of the placeholderpublic void setHeight(int height)
height - integer height of the placeholderpublic void setWidth(int width)
width - integer width of the placeholderpublic void setWidth(String str)
width - width of the placeholder
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupport
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||