Class RssTag

java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.jalios.jtaglib.RssTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class RssTag extends javax.servlet.jsp.tagext.TagSupport
This tag fetchs an RSS sources and builds a RssChannel object.
Author:
Olivier Dedieu
See Also:
  • Field Summary

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

    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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    void
     
    void
     
    void
     
    void
    setSource(String source)
     
    void
    setTimeout(int timeout)
     
    void
    setUfreq(long ufreq)
     

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

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RssTag

      public RssTag()
  • Method Details

    • setId

      public void setId(String id)
      Overrides:
      setId in class javax.servlet.jsp.tagext.TagSupport
      Parameters:
      id - The id to set.
      Since:
      jcms-4.1
    • setName

      public void setName(String name)
    • setSource

      public void setSource(String source)
    • setUfreq

      public void setUfreq(long ufreq)
    • setTimeout

      public void setTimeout(int timeout)
    • setEventListeners

      public void setEventListeners(Set<RssEventListener> eventListeners)
      Parameters:
      eventListeners - the eventListeners to set
      Since:
      JCMS 6.3
    • doStartTag

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

      public int doEndTag()
      Specified by:
      doEndTag in interface javax.servlet.jsp.tagext.Tag
      Overrides:
      doEndTag in class javax.servlet.jsp.tagext.TagSupport