|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
net.thauvin.google.taglibs.KeySupport
net.thauvin.google.taglibs.QuerySupport
net.thauvin.google.taglibs.Search
A custom tag used to perform Google searches.
Field Summary |
Fields inherited from class net.thauvin.google.taglibs.KeySupport |
key |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
Search()
|
Method Summary | |
int |
doEndTag()
doEndTag method. |
int |
doStartTag()
doStartTag method. |
void |
release()
Release method. |
protected void |
reset()
Reset the values. |
void |
setCache(java.lang.String cache)
Sets the cache attribute. |
void |
setFilter(java.lang.String filter)
Sets the (related-query) filter attribute. |
void |
setLr(java.lang.String lr)
Sets the lr (language restrict) attribute. |
void |
setMaxResults(java.lang.String maxResults)
Sets the maximum number of results to be returned. |
void |
setRestrict(java.lang.String restrict)
Sets the restrict attribute. |
void |
setSafeSearch(java.lang.String safeSearch)
Sets the safeSearch attribute. |
void |
setSite(java.lang.String site)
Sets the site attribute. |
void |
setStart(java.lang.String start)
Sets the start attribute. |
void |
setType(java.lang.String type)
Sets the (file) type attribute. |
Methods inherited from class net.thauvin.google.taglibs.QuerySupport |
getQuery |
Methods inherited from class net.thauvin.google.taglibs.KeySupport |
getKey, setKey |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
Constructor Detail |
public Search()
Method Detail |
public final void setCache(java.lang.String cache)
cache
- The new attribute value.public final void setFilter(java.lang.String filter)
filter
- The new attribute value.public final void setLr(java.lang.String lr)
lr
- The new attribute value.public final void setMaxResults(java.lang.String maxResults)
maxResults
- The new attribute value.public final void setRestrict(java.lang.String restrict)
restrict
- The new restrict attribute.public final void setSafeSearch(java.lang.String safeSearch)
safeSearch
- The new attribute value.public final void setSite(java.lang.String site)
site
- The new attribute value.public final void setStart(java.lang.String start)
start
- The new attribute value.public final void setType(java.lang.String type)
type
- The new attribute value.public int doEndTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public int doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class QuerySupport
protected void reset()
reset
in class QuerySupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |