net.sf.ginp.tags
Class Link

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.sf.ginp.tags.Link
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class Link
extends javax.servlet.jsp.tagext.TagSupport

Tag for encoding the href link and including the context of the aplication.

Version:
$Revision: 303 $
Author:
Doug Culnane
See Also:
Serialized Form

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
Link()
           
 
Method Summary
 int doStartTag()
          Description of the Method
 void setUrl(java.lang.String s)
          Sets the url attribute of the GetRootContext object
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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

Link

public Link()
Method Detail

setUrl

public void setUrl(java.lang.String s)
Sets the url attribute of the GetRootContext object

Parameters:
s - The new url value

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description of the Method

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
Description of the Return Value
Throws:
javax.servlet.jsp.JspException - Description of the Exception


Copyright © 2004-2007 null. All Rights Reserved.