org.jasig.portlet.newsreader.processor
Class RomeNewsProcessorImpl
java.lang.Object
org.jasig.portlet.newsreader.processor.RomeNewsProcessorImpl
public class RomeNewsProcessorImpl
- extends Object
|
Field Summary |
protected org.apache.commons.logging.Log |
log
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
RomeNewsProcessorImpl
public RomeNewsProcessorImpl()
setImageTypes
public void setImageTypes(List<String> imageTypes)
setVideoTypes
public void setVideoTypes(List<String> videoTypes)
getFeed
public NewsFeed getFeed(InputStream in,
String titlePolicy,
String descriptionPolicy)
throws IOException,
IllegalArgumentException,
com.sun.syndication.io.FeedException,
org.owasp.validator.html.PolicyException,
org.owasp.validator.html.ScanException
- Throws:
IOException
IllegalArgumentException
com.sun.syndication.io.FeedException
org.owasp.validator.html.PolicyException
org.owasp.validator.html.ScanException
getNewsFeedItem
protected NewsFeedItem getNewsFeedItem(com.sun.syndication.feed.synd.SyndEntry entry,
String titlePolicy,
String descriptionPolicy)
throws org.owasp.validator.html.PolicyException,
org.owasp.validator.html.ScanException
- Throws:
org.owasp.validator.html.PolicyException
org.owasp.validator.html.ScanException
setPolicies
public void setPolicies(Map<String,org.springframework.core.io.Resource> policies)
throws org.owasp.validator.html.PolicyException,
IOException
- Throws:
org.owasp.validator.html.PolicyException
IOException
Copyright © 2009-2011 Jasig. All Rights Reserved.