net.thauvin.google.taglibs
Class QuerySupport

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bynet.thauvin.google.taglibs.KeySupport
              extended bynet.thauvin.google.taglibs.QuerySupport
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
Direct Known Subclasses:
CachedPage, Search, Spelling

public abstract class QuerySupport
extends KeySupport

Implements supports for specifying the Google query string.

The query can be specified using one the following:

Since:
1.0
Version:
$Revision: 1.1.1.1 $
Author:
Erik C. Thauvin
See Also:
Serialized Form

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
QuerySupport()
           
 
Method Summary
protected  java.lang.String getQuery()
          Returns the specified query.
 void release()
          Release method.
protected  void reset()
          Reset the values.
 
Methods inherited from class net.thauvin.google.taglibs.KeySupport
getKey, setKey
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, 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

QuerySupport

public QuerySupport()
Method Detail

release

public void release()
Release method.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class KeySupport

getQuery

protected final java.lang.String getQuery()
Returns the specified query.

Returns:
The query value.

reset

protected void reset()
Reset the values.

Overrides:
reset in class KeySupport