Class GenericModifier
java.lang.Object
org.bloomreach.forge.feed.api.modifier.GenericModifier
- All Implemented Interfaces:
Modifier<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry, GenericFeedDescriptor>
public class GenericModifier
extends Object
implements Modifier<com.rometools.rome.feed.synd.SyndFeed,com.rometools.rome.feed.synd.SyndEntry,GenericFeedDescriptor>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
modifyEntry
(org.hippoecm.hst.core.request.HstRequestContext context, com.rometools.rome.feed.synd.SyndEntry entry, org.hippoecm.hst.content.beans.standard.HippoBean bean) Modify the Syndication Entry<bean id="rssModifier" class="org.bloomreach.forge.feed.api.modifier.RSS20Modifier" scope="singleton"/>
void
modifyFeed
(org.hippoecm.hst.core.request.HstRequestContext context, com.rometools.rome.feed.synd.SyndFeed feed, GenericFeedDescriptor descriptor) Modify the Syndication Feed e.g.void
modifyHstQuery
(org.hippoecm.hst.core.request.HstRequestContext context, org.hippoecm.hst.content.beans.query.HstQuery query, GenericFeedDescriptor descriptor) Modify the HST Query, set implementation in override spring xml e.g.
-
Constructor Details
-
GenericModifier
public GenericModifier()
-
-
Method Details
-
modifyHstQuery
public void modifyHstQuery(org.hippoecm.hst.core.request.HstRequestContext context, org.hippoecm.hst.content.beans.query.HstQuery query, GenericFeedDescriptor descriptor) Description copied from interface:Modifier
Modify the HST Query, set implementation in override spring xml e.g. for RSS:<bean id="rssModifier" class="org.bloomreach.forge.feed.api.modifier.RSS20Modifier" scope="singleton"/>
- Specified by:
modifyHstQuery
in interfaceModifier<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry, GenericFeedDescriptor>
-
modifyFeed
public void modifyFeed(org.hippoecm.hst.core.request.HstRequestContext context, com.rometools.rome.feed.synd.SyndFeed feed, GenericFeedDescriptor descriptor) Description copied from interface:Modifier
Modify the Syndication Feed e.g. for RSS<bean id="rssModifier" class="org.bloomreach.forge.feed.api.modifier.RSS20Modifier" scope="singleton"/>
- Specified by:
modifyFeed
in interfaceModifier<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry, GenericFeedDescriptor>
-
modifyEntry
public void modifyEntry(org.hippoecm.hst.core.request.HstRequestContext context, com.rometools.rome.feed.synd.SyndEntry entry, org.hippoecm.hst.content.beans.standard.HippoBean bean) Description copied from interface:Modifier
Modify the Syndication Entry<bean id="rssModifier" class="org.bloomreach.forge.feed.api.modifier.RSS20Modifier" scope="singleton"/>
- Specified by:
modifyEntry
in interfaceModifier<com.rometools.rome.feed.synd.SyndFeed,
com.rometools.rome.feed.synd.SyndEntry, GenericFeedDescriptor>
-