Package com.sun.syndication.propono.atom.common.rome

Examples of com.sun.syndication.propono.atom.common.rome.AppModuleImpl


        List contents = new ArrayList();
        contents.add(content);
        entry.setContents(contents);
       
        List modules = new ArrayList();
        AppModule app = new AppModuleImpl();
        app.setDraft(false);
        app.setEdited(entry.getUpdated());
        modules.add(app);
        entry.setModules(modules);
       
        return entry;
    }
View Full Code Here


        List otherlinks = new ArrayList();
        otherlinks.add(editlink);
        atomEntry.setOtherLinks(otherlinks);
       
        List modules = new ArrayList();
        AppModule app = new AppModuleImpl();
        app.setDraft(!WeblogEntry.PUBLISHED.equals(entry.getStatus()));
        app.setEdited(entry.getUpdateTime());
        modules.add(app);
        atomEntry.setModules(modules);
       
        return atomEntry;
    }
View Full Code Here

TOP

Related Classes of com.sun.syndication.propono.atom.common.rome.AppModuleImpl

Copyright © 2018 www.massapicom. 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.