Package ubic.gemma.web.taglib
Class CharacteristicTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.springframework.web.servlet.tags.RequestContextAwareTag
org.springframework.web.servlet.tags.HtmlEscapingAwareTag
ubic.gemma.web.taglib.CharacteristicTag
- All Implemented Interfaces:
Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.TryCatchFinally
public class CharacteristicTag
extends org.springframework.web.servlet.tags.HtmlEscapingAwareTag
- See Also:
-
Field Summary
Fields inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
logger, REQUEST_CONTEXT_PAGE_ATTRIBUTEFields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetCategory(boolean category) Only render the category part of the characteristic.voidsetCharacteristic(Characteristic characteristic) Characteristic to generate the tag for.voidsetExternal(boolean external) Generate an external link.Methods inherited from class org.springframework.web.servlet.tags.HtmlEscapingAwareTag
isDefaultHtmlEscape, isHtmlEscape, setHtmlEscapeMethods inherited from class org.springframework.web.servlet.tags.RequestContextAwareTag
doCatch, doFinally, doStartTag, getRequestContextMethods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
CharacteristicTag
public CharacteristicTag()
-
-
Method Details
-
doStartTagInternal
public int doStartTagInternal() throws javax.servlet.jsp.JspException- Specified by:
doStartTagInternalin classorg.springframework.web.servlet.tags.RequestContextAwareTag- Throws:
javax.servlet.jsp.JspException
-
setCharacteristic
Characteristic to generate the tag for. -
setCategory
public void setCategory(boolean category) Only render the category part of the characteristic. -
setExternal
public void setExternal(boolean external) Generate an external link.The default is to generate an internal link.
-