org.ultrawork.wtk.mc.taglib
Class LinkDefinitionTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--org.ultrawork.wtk.mc.taglib.ComponentDefinitionTagSupport
                    |
                    +--org.ultrawork.wtk.mc.taglib.LinkDefinitionTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class LinkDefinitionTag
extends ComponentDefinitionTagSupport

Creates a org.ultrawork.wtk.mc.Link component.

Version:
0.2
Author:
Nicolas Bonvin
See Also:
Serialized Form

Field Summary
private  java.lang.String href
           
private  java.lang.String key
           
private  java.lang.String label
           
private  java.lang.String page
           
 
Fields inherited from class org.ultrawork.wtk.mc.taglib.ComponentDefinitionTagSupport
id, name, position, scope
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
pageContext, parent, values
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
LinkDefinitionTag()
           
 
Method Summary
 Component createComponent()
           
protected  Link createLinkInstance(Link link)
           
 java.lang.String getHref()
          Gets the href
 java.lang.String getKey()
          Gets the key
 java.lang.String getLabel()
          Gets the label
 java.lang.String getPage()
          Gets the page
 void release()
           
 void setHref(java.lang.String href)
          Sets the href
 void setKey(java.lang.String key)
          Sets the key
 void setLabel(java.lang.String label)
          Sets the label
 void setPage(java.lang.String page)
          Sets the page
 
Methods inherited from class org.ultrawork.wtk.mc.taglib.ComponentDefinitionTagSupport
addComponentToParentContainer, doEndTag, getId, getName, getPosition, getScope, hasBody, setId, setName, setPosition, setScope, storeComponent
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

label

private java.lang.String label

key

private java.lang.String key

href

private java.lang.String href

page

private java.lang.String page
Constructor Detail

LinkDefinitionTag

public LinkDefinitionTag()
Method Detail

createComponent

public Component createComponent()
                          throws javax.servlet.jsp.JspException
Overrides:
createComponent in class ComponentDefinitionTagSupport

createLinkInstance

protected Link createLinkInstance(Link link)

getHref

public java.lang.String getHref()
Gets the href
Returns:
Returns a String

setHref

public void setHref(java.lang.String href)
Sets the href
Parameters:
href - The href to set

getPage

public java.lang.String getPage()
Gets the page
Returns:
Returns a String

setPage

public void setPage(java.lang.String page)
Sets the page
Parameters:
page - The page to set

getLabel

public java.lang.String getLabel()
Gets the label
Returns:
Returns a String

setLabel

public void setLabel(java.lang.String label)
Sets the label
Parameters:
label - The label to set

getKey

public java.lang.String getKey()
Gets the key
Returns:
Returns a String

setKey

public void setKey(java.lang.String key)
Sets the key
Parameters:
key - The key to set

release

public void release()
Overrides:
release in class ComponentDefinitionTagSupport


Copyright 2002 - ultrawork