Package org.bloomreach.forge.feed.beans
Class GenericFeedDescriptor
java.lang.Object
org.hippoecm.hst.content.beans.standard.HippoItem
org.hippoecm.hst.content.beans.standard.HippoDocument
org.bloomreach.forge.feed.beans.GenericFeedDescriptor
- All Implemented Interfaces:
Comparable<org.hippoecm.hst.content.beans.standard.HippoBean>
,FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
,com.rometools.rome.feed.synd.SyndEntry> 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 GenericFeedDescriptor
extends org.hippoecm.hst.content.beans.standard.HippoDocument
implements FeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry>
-
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
-
Method Summary
Modifier and TypeMethodDescriptioncom.rometools.rome.feed.synd.SyndEntry
Create entry element to include in top level elementcom.rometools.rome.feed.synd.SyndFeed
Create top level elementorg.hippoecm.hst.content.beans.standard.HippoGalleryImageSet
getImage()
org.hippoecm.hst.content.beans.standard.HippoDocument
getLink()
getScope()
descriptorgetTitle()
getType()
process
(com.rometools.rome.feed.synd.SyndFeed syndication) Process syndication to XML formatvoid
set
(com.rometools.rome.feed.synd.SyndFeed syndication, List<com.rometools.rome.feed.synd.SyndEntry> entries) Add entry list to the syndicationtype()
FeedTypeMethods 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
-
GenericFeedDescriptor
public GenericFeedDescriptor()
-
-
Method Details
-
getType
-
getTitle
-
getPublicationDate
-
getAuthor
-
getDescription
-
getLanguage
-
getContributors
-
getCopyright
-
getImage
public org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet getImage() -
getCategories
-
getLink
public org.hippoecm.hst.content.beans.standard.HippoDocument getLink() -
createSyndication
public com.rometools.rome.feed.synd.SyndFeed createSyndication()Description copied from interface:FeedDescriptor
Create top level element- Specified by:
createSyndication
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry> - Returns:
-
createEntry
public com.rometools.rome.feed.synd.SyndEntry createEntry()Description copied from interface:FeedDescriptor
Create entry element to include in top level element- Specified by:
createEntry
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry> - Returns:
-
set
public void set(com.rometools.rome.feed.synd.SyndFeed syndication, List<com.rometools.rome.feed.synd.SyndEntry> entries) Description copied from interface:FeedDescriptor
Add entry list to the syndication- Specified by:
set
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry>
-
process
Description copied from interface:FeedDescriptor
Process syndication to XML format- Specified by:
process
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry> - Returns:
-
type
Description copied from interface:FeedDescriptor
FeedType- Specified by:
type
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry> - Returns:
-
getScope
descriptor- Specified by:
getScope
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry>
-
getDocumentType
- Specified by:
getDocumentType
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry>
-
getExclude
- Specified by:
getExclude
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry>
-
getItemCount
- Specified by:
getItemCount
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry>
-
getSortByField
- Specified by:
getSortByField
in interfaceFeedDescriptor<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry>
-