org.repoweb.tag
Class LinkTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.repoweb.tag.LinkTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Tag to make a link for various repoweb page.

See Also:
Serialized Form

Field Summary
(package private) static java.lang.String DISPLAY
           
static java.lang.String TO_DETAIL
           
static java.lang.String TO_DOWNLOAD
           
static java.lang.String TO_GROUP
           
static java.lang.String TO_IBIBLIO
           
 
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
LinkTag()
           
 
Method Summary
static java.lang.String detailUrl(javax.servlet.jsp.PageContext context, ArtifactInfo art)
           
 int doEndTag()
           
 int doStartTag()
           
 java.lang.String getLabel()
           
 java.lang.String getProperty()
           
 java.lang.String getTo()
           
static java.lang.String groupURL(javax.servlet.jsp.PageContext context, java.lang.Object group)
           
 void setLabel(java.lang.String label)
           
 void setProperty(java.lang.String property)
           
 void setTo(java.lang.String to)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Field Detail

TO_DOWNLOAD

public static final java.lang.String TO_DOWNLOAD
See Also:
Constant Field Values

TO_DETAIL

public static final java.lang.String TO_DETAIL
See Also:
Constant Field Values

TO_IBIBLIO

public static final java.lang.String TO_IBIBLIO
See Also:
Constant Field Values

TO_GROUP

public static final java.lang.String TO_GROUP
See Also:
Constant Field Values

DISPLAY

static final java.lang.String DISPLAY
See Also:
Constant Field Values
Constructor Detail

LinkTag

public LinkTag()
Method Detail

groupURL

public static java.lang.String groupURL(javax.servlet.jsp.PageContext context,
                                        java.lang.Object group)

detailUrl

public static java.lang.String detailUrl(javax.servlet.jsp.PageContext context,
                                         ArtifactInfo art)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

getLabel

public java.lang.String getLabel()

setLabel

public void setLabel(java.lang.String label)

getTo

public java.lang.String getTo()

setTo

public void setTo(java.lang.String to)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)


Copyright © 2003-2005 Repoweb. All Rights Reserved.