net.thauvin.google.taglibs
Class Element

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bynet.thauvin.google.taglibs.StyleSupport
              extended bynet.thauvin.google.taglibs.Element
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class Element
extends StyleSupport

A custom tag used to retrieve a Google search result element.

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.StyleSupport
css, style, target
 
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
Element()
           
 
Method Summary
 int doEndTag()
          doAfterBody method.
 int doStartTag()
          doStartTag method.
 void release()
          Release method.
protected  void reset()
          Reset the values.
 void setName(java.lang.String name)
          Sets the search result element name.
 
Methods inherited from class net.thauvin.google.taglibs.StyleSupport
setCss, setStyle, setTarget
 
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

Element

public Element()
Method Detail

setName

public final void setName(java.lang.String name)
Sets the search result element name.

Parameters:
name - The name of the element.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
doAfterBody method.

Returns:
EVAL_PAGE
Throws:
javax.servlet.jsp.JspException

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
doStartTag method.

Returns:
SKIP_BODY.
Throws:
javax.servlet.jsp.JspTagException

release

public void release()
Release method.

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

reset

protected void reset()
Reset the values.

Overrides:
reset in class StyleSupport