Class CopyrightTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.deltava.taglib.content.CopyrightTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable
public class CopyrightTag
extends jakarta.servlet.jsp.tagext.TagSupport
A JSP Tag to insert a copyright notice.
- Since:
- 1.0
- Version:
- 12.3
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoEndTag()Renders the copyright tag to the JSP output stream.voidrelease()voidsetVisible(boolean isVisible) Marks the copyright tag as visible instead of embedded in the HTML code.Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
CopyrightTag
public CopyrightTag()
-
-
Method Details
-
setVisible
public void setVisible(boolean isVisible) Marks the copyright tag as visible instead of embedded in the HTML code.- Parameters:
isVisible- TRUE if the tag should be visible, otherwise FALSE
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspExceptionRenders the copyright tag to the JSP output stream.- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport- Returns:
- TagSupport#EVAL_PAGE always
- Throws:
jakarta.servlet.jsp.JspException- if an error occurs
-
release
public void release()- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.tagext.TagSupport
-