org.jasig.portlet.newsreader.processor
Class RomeNewsProcessorImpl

java.lang.Object
  extended by org.jasig.portlet.newsreader.processor.RomeNewsProcessorImpl

public class RomeNewsProcessorImpl
extends Object


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
RomeNewsProcessorImpl()
           
 
Method Summary
 NewsFeed getFeed(InputStream in, String titlePolicy, String descriptionPolicy)
           
protected  NewsFeedItem getNewsFeedItem(com.sun.syndication.feed.synd.SyndEntry entry, String titlePolicy, String descriptionPolicy)
           
 void setImageTypes(List<String> imageTypes)
           
 void setPolicies(Map<String,org.springframework.core.io.Resource> policies)
           
 void setVideoTypes(List<String> videoTypes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

RomeNewsProcessorImpl

public RomeNewsProcessorImpl()
Method Detail

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.