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:
  • Field Summary

    Fields inherited from class InsertContentTag

    _resourceName
    Modifier and Type
    Field
    Description
    protected String
    The name of the resource to display, without extension.

    Fields inherited from class jakarta.servlet.jsp.tagext.TagSupport

    id, pageContext

    Fields inherited from interface jakarta.servlet.jsp.tagext.IterationTag

    EVAL_BODY_AGAIN

    Fields inherited from interface jakarta.servlet.jsp.tagext.Tag

    EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    void
     
    void
    setHost(String hostName)
    Sets the host name for the RSS feed.
    void
    Sets the parth to the RSS data feed
    void
    setProtocol(String protocol)
    Sets the protocol used to retrieve the RSS feed
    void
    Sets the title of the RSS feed.

    Methods inherited from class InsertContentTag

    setName
    Modifier and Type
    Method
    Description
    void
    Update the name of the resource to insert.

    Methods inherited from class BrowserInfoTag

    getBrowserContext, passedCAPTCHA
    Modifier and Type
    Method
    Description
    protected HTTPContextData
    Fetches the browser data.
    protected boolean
    Returns whether the user has passed CAPTCHA validation.

    Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport

    doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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