Class InsertRSSTag

java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag, jakarta.servlet.jsp.tagext.JspTag, jakarta.servlet.jsp.tagext.Tag, Serializable

public class InsertRSSTag extends InsertContentTag
A JSP Tag to insert a link to an RSS data feed.
Since:
1.0
Version:
12.3
Author:
Luke
See Also:
  • Constructor Details

    • InsertRSSTag

      public InsertRSSTag()
  • Method Details

    • setTitle

      public void setTitle(String title)
      Sets the title of the RSS feed.
      Parameters:
      title - the title
    • setProtocol

      public void setProtocol(String protocol)
      Sets the protocol used to retrieve the RSS feed
      Parameters:
      protocol - the protocol, usually http or https
    • setHost

      public void setHost(String hostName)
      Sets the host name for the RSS feed.
      Parameters:
      hostName - the server host name
    • setPath

      public void setPath(String path)
      Sets the parth to the RSS data feed
      Parameters:
      path - the path
    • release

      public void release()
      Specified by:
      release in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      release in class jakarta.servlet.jsp.tagext.TagSupport
    • doStartTag

      public int doStartTag() throws jakarta.servlet.jsp.JspException
      Specified by:
      doStartTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doStartTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException
    • doEndTag

      public int doEndTag() throws jakarta.servlet.jsp.JspException
      Specified by:
      doEndTag in interface jakarta.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class jakarta.servlet.jsp.tagext.TagSupport
      Throws:
      jakarta.servlet.jsp.JspException