edu.internet2.middleware.grouper.ui.tags
Class GrouperTitleTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by edu.internet2.middleware.grouper.ui.tags.GrouperTitleTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class GrouperTitleTag
extends BodyTagSupport

 This will generate a title
 
 Generates a title, with optional infodot
 
 

Author:
mchyzer
See Also:
Serialized Form

Field Summary
 
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
GrouperTitleTag()
          init fields on construct
 
Method Summary
 int doEndTag()
           
 String getKey()
          key of the nav.properties for text in title
 String getParam1()
          first param value of the string
 String getParam2()
          second param value of the string
 void release()
          Releases any resources we may have (or inherit)
 void setInfodotValue(String theValue)
           
 void setKey(String _key)
          key of the nav.properties for text in title
 void setLabel(String label1)
          mutually exclusive with key, if not from nav.properties
 void setParam1(String _param1)
          first param value of the string
 void setParam2(String _param2)
          second param value of the string
 
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, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

GrouperTitleTag

public GrouperTitleTag()
init fields on construct

Method Detail

setInfodotValue

public void setInfodotValue(String theValue)
Parameters:
theValue -

release

public void release()
Releases any resources we may have (or inherit)

Specified by:
release in interface Tag
Overrides:
release in class BodyTagSupport

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException
See Also:
BodyTagSupport.doEndTag()

getKey

public String getKey()
key of the nav.properties for text in title

Returns:
the key

setKey

public void setKey(String _key)
key of the nav.properties for text in title

Parameters:
_key - the key to set

getParam1

public String getParam1()
first param value of the string

Returns:
the param1

setParam1

public void setParam1(String _param1)
first param value of the string

Parameters:
_param1 - the param1 to set

getParam2

public String getParam2()
second param value of the string

Returns:
the param2

setParam2

public void setParam2(String _param2)
second param value of the string

Parameters:
_param2 - the param2 to set

setLabel

public void setLabel(String label1)
mutually exclusive with key, if not from nav.properties

Parameters:
label1 - the label to set