Class InsertRSSTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.deltava.taglib.BrowserInfoTag
org.deltava.taglib.content.InsertContentTag
org.deltava.taglib.content.InsertRSSTag
- All Implemented Interfaces:
Serializable
,IterationTag
,JspTag
,Tag
A JSP Tag to insert a link to an RSS data feed.
- Since:
- 1.0
- Version:
- 10.6
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.taglib.content.InsertContentTag
_resourceName
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
doEndTag()
Renders the RSS link to the JSP output stream.int
Renders the start of the JSP tag and calculates default values.void
release()
void
Sets the host name for the RSS feed.void
Sets the parth to the RSS data feedvoid
setProtocol
(String protocol) Sets the protocol used to retrieve the RSS feedvoid
Sets the title of the RSS feed.Methods inherited from class org.deltava.taglib.content.InsertContentTag
setName
Methods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Constructor Details
-
InsertRSSTag
public InsertRSSTag()
-
-
Method Details
-
setTitle
-
setProtocol
Sets the protocol used to retrieve the RSS feed- Parameters:
protocol
- the protocol, usually http or https
-
setHost
Sets the host name for the RSS feed.- Parameters:
hostName
- the server host name
-
setPath
-
release
public void release()- Specified by:
release
in interfaceTag
- Overrides:
release
in classTagSupport
-
doStartTag
Renders the start of the JSP tag and calculates default values.- Specified by:
doStartTag
in interfaceTag
- Overrides:
doStartTag
in classTagSupport
- Returns:
- SKIP_BODY always
- Throws:
JspException
- never
-
doEndTag
Renders the RSS link to the JSP output stream.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classTagSupport
- Returns:
- EVAL_PAGE always
- Throws:
JspException
- if an error occurs
-