org.intermine.web.tags.disclosure
Class DisclosureHeadTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by org.intermine.web.tags.disclosure.BaseDisclosureTag
          extended by org.intermine.web.tags.disclosure.DisclosureHeadTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class DisclosureHeadTag
extends BaseDisclosureTag

This class renders disclosureHead tag. See tag library descriptor for tag description.


Constructor Summary
DisclosureHeadTag()
           
 
Method Summary
 void doTag()
          Renders tag.
protected  java.lang.String getDefaultStyleClass()
          Returns default style class.
 java.lang.String getLink()
           
 
Methods inherited from class org.intermine.web.tags.disclosure.BaseDisclosureTag
getStyle, getStyleClass, printStyleAndClass, setStyle, setStyleClass
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisclosureHeadTag

public DisclosureHeadTag()
Method Detail

getDefaultStyleClass

protected java.lang.String getDefaultStyleClass()
Returns default style class. Each of tags has its own default style class. So if you want to set style of disclosure tag, just simply set 'disclosure' class in style sheet file.

Overrides:
getDefaultStyleClass in class BaseDisclosureTag
Returns:
default style class

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  java.io.IOException
Renders tag.

Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException - if element is not inside <disclosure> element
java.io.IOException - if error occurs during writing to stream output

getLink

public java.lang.String getLink()
Returns:
link
See Also:
DisclosureTag.getLink()