Class RSS20FeedDescriptor

java.lang.Object
org.hippoecm.hst.content.beans.standard.HippoItem
org.hippoecm.hst.content.beans.standard.HippoDocument
org.bloomreach.forge.feed.beans.RSS20FeedDescriptor
All Implemented Interfaces:
Comparable<org.hippoecm.hst.content.beans.standard.HippoBean>, FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>, org.hippoecm.hst.content.beans.manager.ObjectConverterAware, org.hippoecm.hst.content.beans.NodeAware, org.hippoecm.hst.content.beans.standard.ContentBean, org.hippoecm.hst.content.beans.standard.HippoBean, org.hippoecm.hst.content.beans.standard.HippoDocumentBean, org.hippoecm.hst.content.beans.standard.HippoTranslated, org.hippoecm.hst.content.beans.standard.IdentifiableContentBean, org.hippoecm.hst.content.PageModelEntity

public class RSS20FeedDescriptor extends org.hippoecm.hst.content.beans.standard.HippoDocument implements FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hippoecm.hst.content.beans.standard.HippoItem

    org.hippoecm.hst.content.beans.standard.HippoItem.ComparatorMap
  • Field Summary

    Fields inherited from class org.hippoecm.hst.content.beans.standard.HippoItem

    comparePath, detached, displayName, localizedName, name, node, objectConverter, path, valueProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.rometools.rome.feed.rss.Item
    Create entry element to include in top level element
    com.rometools.rome.feed.rss.Channel
    Create top level element
     
     
     
     
     
     
    org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet
     
     
    other
     
     
     
    Right side elements
     
    required
     
    process(com.rometools.rome.feed.rss.Channel syndication)
    Process syndication to XML format
    void
    set(com.rometools.rome.feed.rss.Channel syndication, List<com.rometools.rome.feed.rss.Item> entries)
    Add entry list to the syndication
    FeedType

    Methods inherited from class org.hippoecm.hst.content.beans.standard.HippoDocument

    getAvailableTranslations, getCanonicalHandlePath, getCanonicalHandleUUID, getHippoCompound, getHippoHtml, getLocale, getLocaleString

    Methods inherited from class org.hippoecm.hst.content.beans.standard.HippoItem

    attach, compareTo, detach, equalCompare, equals, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getDisplayName, getEqualComparator, getIdentifier, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getObjectConverter, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, hashCode, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode, setComparePath, setDisplayName, setIdentifier, setName, setNode, setObjectConverter, setPath

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Comparable

    compareTo

    Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoBean

    equalCompare, getAvailableTranslations, getBean, getBean, getBeanByUUID, getCanonicalBean, getCanonicalPath, getCanonicalUUID, getChildBeans, getChildBeans, getChildBeansByName, getChildBeansByName, getComparePath, getContentType, getDisplayName, getEqualComparator, getLinkedBean, getLinkedBeans, getMultipleProperty, getMultipleProperty, getName, getNode, getParentBean, getPath, getProperties, getProperty, getSingleProperty, getSingleProperty, getValueProvider, isAncestor, isDescendant, isHippoDocumentBean, isHippoFolderBean, isLeaf, isSelf, isVersionedNode

    Methods inherited from interface org.hippoecm.hst.content.beans.standard.HippoDocumentBean

    getRepresentationId

    Methods inherited from interface org.hippoecm.hst.content.beans.standard.IdentifiableContentBean

    getIdentifier, setIdentifier

    Methods inherited from interface org.hippoecm.hst.content.beans.NodeAware

    setNode

    Methods inherited from interface org.hippoecm.hst.content.beans.manager.ObjectConverterAware

    getObjectConverter, setObjectConverter
  • Constructor Details

    • RSS20FeedDescriptor

      public RSS20FeedDescriptor()
  • Method Details

    • getTitle

      public String getTitle()
      required
    • getDescription

      public String getDescription()
    • getPublicationDate

      public Calendar getPublicationDate()
    • getLink

      public String getLink()
    • getLanguage

      public String getLanguage()
      other
    • getCopyright

      public String getCopyright()
    • getManagingEditor

      public String getManagingEditor()
    • getWebMaster

      public String getWebMaster()
    • getCategory

      public List<String> getCategory()
    • getGenerator

      public String getGenerator()
    • getImage

      public org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet getImage()
    • createSyndication

      public com.rometools.rome.feed.rss.Channel createSyndication()
      Description copied from interface: FeedDescriptor
      Create top level element
      Specified by:
      createSyndication in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
      Returns:
    • createEntry

      public com.rometools.rome.feed.rss.Item createEntry()
      Description copied from interface: FeedDescriptor
      Create entry element to include in top level element
      Specified by:
      createEntry in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
      Returns:
    • set

      public void set(com.rometools.rome.feed.rss.Channel syndication, List<com.rometools.rome.feed.rss.Item> entries)
      Description copied from interface: FeedDescriptor
      Add entry list to the syndication
      Specified by:
      set in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
    • type

      public FeedType type()
      Description copied from interface: FeedDescriptor
      FeedType
      Specified by:
      type in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
      Returns:
    • process

      public String process(com.rometools.rome.feed.rss.Channel syndication)
      Description copied from interface: FeedDescriptor
      Process syndication to XML format
      Specified by:
      process in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
      Returns:
    • getScope

      public String getScope()
      Description copied from interface: FeedDescriptor
      Right side elements
      Specified by:
      getScope in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
    • getDocumentType

      public String getDocumentType()
      Specified by:
      getDocumentType in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
    • getExclude

      public String getExclude()
      Specified by:
      getExclude in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
    • getItemCount

      public Long getItemCount()
      Specified by:
      getItemCount in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>
    • getSortByField

      public String getSortByField()
      Specified by:
      getSortByField in interface FeedDescriptor<com.rometools.rome.feed.rss.Channel,com.rometools.rome.feed.rss.Item>