Examples of RssSyndication


Examples of churchillobjects.rss4j.RssSyndication

     * @param name
     * @param value
     */
    protected void handleSyndication(IUsesSyndication synobj, String name, String value) throws RssParseException{
        checkSyndication();
        RssSyndication syn = synobj.getChannelSyndication();
        if(syn==null){
            syn = new RssSyndication();
            synobj.setChannelSyndication(syn);
        }
        if("updatePeriod".equals(name)){
            syn.setUpdatePeriod(value);
        }
        if("updateFrequency".equals(name)){
            syn.setUpdateFrequency(Integer.parseInt(value));
        }
        if("updateBase".equals(name)){
            try{
                syn.setUpdateBase(value);
            }
            catch(ParseException e){
                throw new RssParseException("Syndication update base date value not convertible from ISO8601: '"+value+"'");
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.