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
_resourceNameFields 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 TypeMethodDescriptionintdoEndTag()Renders the RSS link to the JSP output stream.intRenders the start of the JSP tag and calculates default values.voidrelease()voidSets the host name for the RSS feed.voidSets the parth to the RSS data feedvoidsetProtocol(String protocol) Sets the protocol used to retrieve the RSS feedvoidSets the title of the RSS feed.Methods inherited from class org.deltava.taglib.content.InsertContentTag
setNameMethods inherited from class org.deltava.taglib.BrowserInfoTag
getBrowserContext, passedCAPTCHAMethods 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:
releasein interfaceTag- Overrides:
releasein classTagSupport
-
doStartTag
Renders the start of the JSP tag and calculates default values.- Specified by:
doStartTagin interfaceTag- Overrides:
doStartTagin classTagSupport- Returns:
- SKIP_BODY always
- Throws:
JspException- never
-
doEndTag
Renders the RSS link to the JSP output stream.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classTagSupport- Returns:
- EVAL_PAGE always
- Throws:
JspException- if an error occurs
-