public class RomeNewsProcessorImpl extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
RomeNewsProcessorImpl() |
| Modifier and Type | Method and Description |
|---|---|
PaginatingNewsFeed |
getFeed(InputStream in,
String titlePolicy,
String descriptionPolicy) |
protected NewsFeedItem |
getNewsFeedItem(com.rometools.rome.feed.synd.SyndEntry entry,
String titlePolicy,
String descriptionPolicy) |
void |
setEntriesPerPage(int perPage) |
void |
setImageTypes(List<String> imageTypes) |
void |
setPolicies(Map<String,org.springframework.core.io.Resource> policies) |
void |
setVideoTypes(List<String> videoTypes) |
public void setEntriesPerPage(int perPage)
public PaginatingNewsFeed getFeed(InputStream in, String titlePolicy, String descriptionPolicy) throws IOException, IllegalArgumentException, com.rometools.rome.io.FeedException, org.owasp.validator.html.PolicyException, org.owasp.validator.html.ScanException
IOExceptionIllegalArgumentExceptioncom.rometools.rome.io.FeedExceptionorg.owasp.validator.html.PolicyExceptionorg.owasp.validator.html.ScanExceptionprotected NewsFeedItem getNewsFeedItem(com.rometools.rome.feed.synd.SyndEntry entry, String titlePolicy, String descriptionPolicy) throws org.owasp.validator.html.PolicyException, org.owasp.validator.html.ScanException
org.owasp.validator.html.PolicyExceptionorg.owasp.validator.html.ScanExceptionpublic void setPolicies(Map<String,org.springframework.core.io.Resource> policies) throws org.owasp.validator.html.PolicyException, IOException
org.owasp.validator.html.PolicyExceptionIOExceptionCopyright © 2009-2015 Jasig. All Rights Reserved.