org.infoglue.deliver.taglib.common
Class RSSFeedEntryTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.deliver.taglib.TemplateControllerTag
              extended by org.infoglue.deliver.taglib.common.RSSFeedEntryTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class RSSFeedEntryTag
extends TemplateControllerTag

This tag will generate a SyndEntry item to be used in a syndFeed.

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
RSSFeedEntryTag()
          Default constructor.
 
Method Summary
protected  void addEntry(com.sun.syndication.feed.synd.SyndEntry entry)
          Adds the parameter to the ancestor tag.
 void addEntryCategory(com.sun.syndication.feed.synd.SyndCategory category)
           
 int doEndTag()
          Process the end tag.
 int doStartTag()
          Initializes the parameters to make it accessible for the children tags (if any).
 void setDescription(java.lang.String description)
           
 void setDescriptionContentType(java.lang.String descriptionContentType)
           
 void setLink(java.lang.String link)
           
 void setPublishedDate(java.lang.String publishedDate)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from class org.infoglue.deliver.taglib.TemplateControllerTag
getController
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
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

RSSFeedEntryTag

public RSSFeedEntryTag()
Default constructor.

Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Initializes the parameters to make it accessible for the children tags (if any).

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to evaluate the body or not.
Throws:
javax.servlet.jsp.JspException - if an error occurred while processing this tag.

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end tag. Sets a cookie.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to continue evaluating the JSP page.
Throws:
javax.servlet.jsp.JspException - if an error occurred while processing this tag.

addEntry

protected void addEntry(com.sun.syndication.feed.synd.SyndEntry entry)
                 throws javax.servlet.jsp.JspException
Adds the parameter to the ancestor tag.

Throws:
javax.servlet.jsp.JspException - if the ancestor tag isn't a url tag.

setDescription

public void setDescription(java.lang.String description)
                    throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setLink

public void setLink(java.lang.String link)
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setTitle

public void setTitle(java.lang.String title)
              throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setDescriptionContentType

public void setDescriptionContentType(java.lang.String descriptionContentType)
                               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setPublishedDate

public void setPublishedDate(java.lang.String publishedDate)
                      throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

addEntryCategory

public void addEntryCategory(com.sun.syndication.feed.synd.SyndCategory category)


Copyright © 2005 InfoGlue.org All Rights Reserved.