B C D E F G I K L M N O P Q R S T

B

bean - Variable in class net.thauvin.google.taglibs.SearchResultSupport
The Google search bean.
buildRefLink(String, String, String, String, String) - Static method in class net.thauvin.google.TagUtility
Builds a HTML reference link: For example: <a href="url" class="css" style="style" target="target">body</a>.

C

CACHE_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the cache request parameter.
CachedPage - class net.thauvin.google.taglibs.CachedPage.
A custom tag used to access and retrieve pages cached on Google.
CachedPage() - Constructor for class net.thauvin.google.taglibs.CachedPage
 
css - Variable in class net.thauvin.google.taglibs.StyleSupport
The css attribute.

D

DEFAULT_CACHE - Static variable in class net.thauvin.google.GoogleSearchBean
The default cache flag.
DEFAULT_FILTER - Static variable in class net.thauvin.google.GoogleSearchBean
The default related-queries filter.
DEFAULT_LR - Static variable in class net.thauvin.google.GoogleSearchBean
The default language restricts.
DEFAULT_MAX_RESULTS - Static variable in class net.thauvin.google.GoogleSearchBean
The default maximum number of results to be returned.
DEFAULT_RESTRICT - Static variable in class net.thauvin.google.GoogleSearchBean
The default document store restrict.
DEFAULT_SAFE_SEARCH - Static variable in class net.thauvin.google.GoogleSearchBean
The default SafeSearch.
DEFAULT_SITE - Static variable in class net.thauvin.google.GoogleSearchBean
The default site.
DEFAULT_START - Static variable in class net.thauvin.google.GoogleSearchBean
The default index of the result to be returned.
DEFAULT_TYPE - Static variable in class net.thauvin.google.GoogleSearchBean
The default filetype.
doAfterBody() - Method in class net.thauvin.google.taglibs.SearchResult
doAfterBody method.
doEndTag() - Method in class net.thauvin.google.taglibs.CachedPage
doEndTag method.
doEndTag() - Method in class net.thauvin.google.taglibs.Element
doAfterBody method.
doEndTag() - Method in class net.thauvin.google.taglibs.Search
doEndTag method.
doEndTag() - Method in class net.thauvin.google.taglibs.SearchResult
doEndTag method.
doEndTag() - Method in class net.thauvin.google.taglibs.SearchResultSupport
doEndTag method.
doEndTag() - Method in class net.thauvin.google.taglibs.Spelling
doEndTag method.
doStartTag() - Method in class net.thauvin.google.taglibs.Element
doStartTag method.
doStartTag() - Method in class net.thauvin.google.taglibs.Search
doStartTag method.
doStartTag() - Method in class net.thauvin.google.taglibs.SearchResult
doStartTag method.
doStartTag() - Method in class net.thauvin.google.taglibs.SearchResultSupport
doStartTag method.

E

Element - class net.thauvin.google.taglibs.Element.
A custom tag used to retrieve a Google search result element.
Element() - Constructor for class net.thauvin.google.taglibs.Element
 
EndIndex - class net.thauvin.google.taglibs.EndIndex.
A custom tag used to retrieve the Google search result end index.
EndIndex() - Constructor for class net.thauvin.google.taglibs.EndIndex
 
EstimatedTotal - class net.thauvin.google.taglibs.EstimatedTotal.
A custom tag used to retrieve the estimated total results count of a Google search.
EstimatedTotal() - Constructor for class net.thauvin.google.taglibs.EstimatedTotal
 

F

FILTER_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the filter request parameter.

G

GOOGLE_PROXY_HOST - Static variable in class net.thauvin.google.TagUtility
The HTTP proxy host.
GOOGLE_PROXY_PASSWORD - Static variable in class net.thauvin.google.TagUtility
The HTTP proxy password.
GOOGLE_PROXY_PORT - Static variable in class net.thauvin.google.TagUtility
The HTTP proxy port.
GOOGLE_PROXY_USERNAME - Static variable in class net.thauvin.google.TagUtility
The HTTP proxy username.
GOOGLE_SEARCH_BEAN - Static variable in class net.thauvin.google.TagUtility
The name of the Google Search bean attribute.
GoogleSearchBean - class net.thauvin.google.GoogleSearchBean.
Implements methods used to perform searches on Google.
GoogleSearchBean() - Constructor for class net.thauvin.google.GoogleSearchBean
Constructs a new instance of the bean.
GoogleSearchBean(String) - Constructor for class net.thauvin.google.GoogleSearchBean
Constructs a new instance of the bean with the specified authorization key.
getCachedPage(String) - Method in class net.thauvin.google.GoogleSearchBean
Returns a cached web page from Google.
getElementProperty(String) - Method in class net.thauvin.google.taglibs.SearchResult
Returns the current search result element specified property.
getGoogleSearch(String, int, int, boolean, String, boolean, String) - Method in class net.thauvin.google.GoogleSearchBean
Invokes a Google search.
getGoogleSearch(String, String, int, int, boolean, String, boolean, String) - Method in class net.thauvin.google.GoogleSearchBean
Returns the GoogleSearch attribute of the GoogleSearchBean object.
getGoogleSearch(String) - Method in class net.thauvin.google.GoogleSearchBean
Returns the GoogleSearch attribute of the GoogleSearchBean object.
getGoogleSearchBean(PageContext) - Static method in class net.thauvin.google.TagUtility
Returns the GoogleSearchBean attribute using the default bean name.
getKey() - Method in class net.thauvin.google.taglibs.KeySupport
Returns the key attribute.
getKeywords() - Method in class net.thauvin.google.GoogleSearchBean
Returns the keywords.
getParameter(ServletRequest, String) - Static method in class net.thauvin.google.TagUtility
Returns the value a specified parameter.
getPropertyName() - Method in class net.thauvin.google.taglibs.EndIndex
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.EstimatedTotal
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.Next
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.Previous
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.SearchComments
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.SearchQuery
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.SearchResultSupport
Returns the result of the build action and must be implemented by classes which extend SearchResultSupport.
getPropertyName() - Method in class net.thauvin.google.taglibs.SearchTime
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.SearchTips
Returns the property provided by this tag.
getPropertyName() - Method in class net.thauvin.google.taglibs.StartIndex
Returns the property provided by this tag.
getQuery() - Method in class net.thauvin.google.taglibs.QuerySupport
Returns the specified query.
getResult() - Method in class net.thauvin.google.GoogleSearchBean
Returns the results of the search.
getResultElementProperty(int, String) - Method in class net.thauvin.google.GoogleSearchBean
Returns the specified property of the given element index in the current result set.
getResultElements() - Method in class net.thauvin.google.GoogleSearchBean
Returns an array of result elements that corresponds to the actual list of search results.
getResultElementsCount() - Method in class net.thauvin.google.GoogleSearchBean
Returns the count of result elements.
getResultProperty(String) - Method in class net.thauvin.google.GoogleSearchBean
Returns the given property of the result set.
getResultProperty() - Method in class net.thauvin.google.taglibs.SearchResultSupport
Returns the value of specified search result property.
getSpellingSuggestion(String) - Method in class net.thauvin.google.GoogleSearchBean
Asks Google to return a spelling suggestion for a word or phrase.
getTagBody(BodyContent) - Static method in class net.thauvin.google.TagUtility
Returns the body of a tag.
getTagBody(BodyContent, boolean) - Static method in class net.thauvin.google.TagUtility
Returns the body of a tag.
getTagName() - Method in class net.thauvin.google.taglibs.EndIndex
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.EstimatedTotal
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.Next
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.Previous
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.SearchComments
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.SearchQuery
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.SearchResultSupport
Returns the name of the tag extending SearchResultSupport.
getTagName() - Method in class net.thauvin.google.taglibs.SearchTime
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.SearchTips
Returns the name of this tag.
getTagName() - Method in class net.thauvin.google.taglibs.StartIndex
Returns the name of this tag.

I

IE_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the input encoding context parameter.
isKeySet() - Method in class net.thauvin.google.GoogleSearchBean
Returns true if the authorization key is set.
isValidResult() - Method in class net.thauvin.google.GoogleSearchBean
Returns true whenever the result set is valid, indicating that a search was performed.
isValidString(String, boolean) - Static method in class net.thauvin.google.TagUtility
Validates a string value by insuring it is not null or empty.
isValidString(String) - Static method in class net.thauvin.google.TagUtility
Validates a string value by insuring it is not null or empty.

K

KEY_CONTEXT_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the key context parameter.
KEY_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the key request parameter.
KeySupport - class net.thauvin.google.taglibs.KeySupport.
Implements support for specifying the key used for authorization in the Google API.
KeySupport() - Constructor for class net.thauvin.google.taglibs.KeySupport
 
key - Variable in class net.thauvin.google.taglibs.KeySupport
The key attribute.

L

LR_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the language restrict context parameter.

M

MAX_RESULTS_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the maxResults request parameter.
main(String[]) - Static method in class net.thauvin.google.GoogleSearchBean
Demonstration program to perform various Google searches.
misplacedError(String, String) - Static method in class net.thauvin.google.TagUtility
Returns the default tag misplaced (not in container) error exception.
misplacedError(String) - Static method in class net.thauvin.google.TagUtility
Returns the default tag misplaced (not in valid container) error exception.

N

NEXT_KEYWORD - Static variable in class net.thauvin.google.GoogleSearchBean
The next keyword.
Next - class net.thauvin.google.taglibs.Next.
A custom tag used to create a link to the next Google search result set.
Next() - Constructor for class net.thauvin.google.taglibs.Next
 
nameValuePair(String, String) - Static method in class net.thauvin.google.TagUtility
Builds name=value pair with URL encoding.
nestedException(String, Exception) - Static method in class net.thauvin.google.TagUtility
Returns a nested exception.
net.thauvin.google - package net.thauvin.google
This package contains the core bean and utility classes.
net.thauvin.google.taglibs - package net.thauvin.google.taglibs
This package contains the custom tag libraries.

O

OE_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the output encoding context parameter.
outputError(String, Exception) - Static method in class net.thauvin.google.TagUtility
Returns the default tag output error exception.

P

PREVIOUS_KEYWORD - Static variable in class net.thauvin.google.GoogleSearchBean
The previous keyword.
Previous - class net.thauvin.google.taglibs.Previous.
A custom tag used to create a link to the previous Google search result set.
Previous() - Constructor for class net.thauvin.google.taglibs.Previous
 

Q

QUERY_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the query request parameter.
QuerySupport - class net.thauvin.google.taglibs.QuerySupport.
Implements supports for specifying the Google query string.
QuerySupport() - Constructor for class net.thauvin.google.taglibs.QuerySupport
 

R

RESTRICT_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the restrict context parameter.
release() - Method in class net.thauvin.google.taglibs.CachedPage
Release method.
release() - Method in class net.thauvin.google.taglibs.Element
Release method.
release() - Method in class net.thauvin.google.taglibs.KeySupport
Release method.
release() - Method in class net.thauvin.google.taglibs.QuerySupport
Release method.
release() - Method in class net.thauvin.google.taglibs.Search
Release method.
release() - Method in class net.thauvin.google.taglibs.SearchQuery
Release method.
release() - Method in class net.thauvin.google.taglibs.SearchResult
Release method.
release() - Method in class net.thauvin.google.taglibs.SearchResultSupport
Release method.
release() - Method in class net.thauvin.google.taglibs.Spelling
Release method.
release() - Method in class net.thauvin.google.taglibs.StyleSupport
Release method.
requestParamsToUrl(HttpServletRequest, String) - Static method in class net.thauvin.google.TagUtility
Converts the request's parameter names/values into ampersand-delimited and URL-encoded name/value pairs.
reset() - Method in class net.thauvin.google.GoogleSearchBean
Reset the bean properties.
reset() - Method in class net.thauvin.google.taglibs.CachedPage
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.Element
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.KeySupport
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.QuerySupport
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.Search
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.SearchResult
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.SearchResultSupport
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.Spelling
Reset the values.
reset() - Method in class net.thauvin.google.taglibs.StyleSupport
Reset the values.

S

SAFE_SEARCH_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the safeSearch context parameter.
SITE_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the site context parameter.
START_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the start request parameter.
Search - class net.thauvin.google.taglibs.Search.
A custom tag used to perform Google searches.
Search() - Constructor for class net.thauvin.google.taglibs.Search
 
SearchComments - class net.thauvin.google.taglibs.SearchComments.
A custom tag used to retrieve the Google search comments message.
SearchComments() - Constructor for class net.thauvin.google.taglibs.SearchComments
 
SearchQuery - class net.thauvin.google.taglibs.SearchQuery.
A custom tag used to retrieve the query string of a Google search.
SearchQuery() - Constructor for class net.thauvin.google.taglibs.SearchQuery
 
SearchResult - class net.thauvin.google.taglibs.SearchResult.
A custom tag used to parse and loop through Google search results.
SearchResult() - Constructor for class net.thauvin.google.taglibs.SearchResult
 
SearchResultSupport - class net.thauvin.google.taglibs.SearchResultSupport.
Implements methods used to retrieve Google Search Result properties.
SearchResultSupport() - Constructor for class net.thauvin.google.taglibs.SearchResultSupport
 
SearchTime - class net.thauvin.google.taglibs.SearchTime.
A custom tag used to retrieve the elapsed time of a Google search.
SearchTime() - Constructor for class net.thauvin.google.taglibs.SearchTime
 
SearchTips - class net.thauvin.google.taglibs.SearchTips.
A custom tag used to retrieve the Google search tips message.
SearchTips() - Constructor for class net.thauvin.google.taglibs.SearchTips
 
Spelling - class net.thauvin.google.taglibs.Spelling.
A custom tag used to access and retrieve Google spelling suggestions.
Spelling() - Constructor for class net.thauvin.google.taglibs.Spelling
 
StartIndex - class net.thauvin.google.taglibs.StartIndex.
A custom tag used to retrieve the Google search result start index.
StartIndex() - Constructor for class net.thauvin.google.taglibs.StartIndex
 
StyleSupport - class net.thauvin.google.taglibs.StyleSupport.
Implements support for the style, target and css tag attributes.
StyleSupport() - Constructor for class net.thauvin.google.taglibs.StyleSupport
 
setCache(String) - Method in class net.thauvin.google.taglibs.Search
Sets the cache attribute.
setCss(String) - Method in class net.thauvin.google.taglibs.StyleSupport
Sets the css attribute.
setFilter(String) - Method in class net.thauvin.google.taglibs.Search
Sets the (related-query) filter attribute.
setKey(String) - Method in class net.thauvin.google.GoogleSearchBean
Sets the authorization key.
setKey(String) - Method in class net.thauvin.google.taglibs.KeySupport
Sets the key attribute.
setKeywords(String) - Method in class net.thauvin.google.GoogleSearchBean
Sets the search keywords.
setLr(String) - Method in class net.thauvin.google.taglibs.Search
Sets the lr (language restrict) attribute.
setMaxResults(String) - Method in class net.thauvin.google.taglibs.Search
Sets the maximum number of results to be returned.
setName(String) - Method in class net.thauvin.google.taglibs.Element
Sets the search result element name.
setProxyServer(String, String, String, String) - Method in class net.thauvin.google.GoogleSearchBean
Sets the HTTP proxy host, port, user name and password.
setProxyServer(String, int, String, String) - Method in class net.thauvin.google.GoogleSearchBean
Sets the HTTP proxy host, port, user name and password.
setRestrict(String) - Method in class net.thauvin.google.taglibs.Search
Sets the restrict attribute.
setSafeSearch(String) - Method in class net.thauvin.google.taglibs.Search
Sets the safeSearch attribute.
setSite(String) - Method in class net.thauvin.google.taglibs.Search
Sets the site attribute.
setStart(String) - Method in class net.thauvin.google.taglibs.Search
Sets the start attribute.
setStyle(String) - Method in class net.thauvin.google.taglibs.StyleSupport
Sets the style attribute.
setTarget(String) - Method in class net.thauvin.google.taglibs.StyleSupport
Sets the target attribute.
setType(String) - Method in class net.thauvin.google.taglibs.Search
Sets the (file) type attribute.
setType(String) - Method in class net.thauvin.google.taglibs.SearchQuery
Sets the type attribute.
style - Variable in class net.thauvin.google.taglibs.StyleSupport
The style attribute.

T

TYPE_PARAM - Static variable in class net.thauvin.google.TagUtility
The name of the (file) type request parameter.
TagUtility - class net.thauvin.google.TagUtility.
Implements various methods commonly used by custom tags.
TagUtility() - Constructor for class net.thauvin.google.TagUtility
Protected constructor to disable instantiation.
target - Variable in class net.thauvin.google.taglibs.StyleSupport
The target attribute.

B C D E F G I K L M N O P Q R S T