Class RssTag

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • 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
      RssTag()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int doEndTag()  
      int doStartTag()  
      void setEventListeners​(java.util.Set<RssEventListener> eventListeners)  
      void setId​(java.lang.String id)  
      void setName​(java.lang.String name)  
      void setSource​(java.lang.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 Detail

      • RssTag

        public RssTag()
    • Method Detail

      • setId

        public void setId​(java.lang.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​(java.lang.String name)
      • setSource

        public void setSource​(java.lang.String source)
      • setUfreq

        public void setUfreq​(long ufreq)
      • setTimeout

        public void setTimeout​(int timeout)
      • setEventListeners

        public void setEventListeners​(java.util.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