Package org.apache.roller.util.rome

Examples of org.apache.roller.util.rome.ContentModule


        }
       
        // no content, then try <content:encoded>       
        if (getContent() == null || getContent().trim().length() == 0)
        {
            ContentModule cm = (ContentModule)romeEntry.getModule(ContentModule.URI);
            if (cm != null)
            {
                setContent(Utilities.unescapeHTML(cm.getEncoded()));
            }
        }
       
        // copy categories
        if (romeEntry.getCategories().size() > 0)
View Full Code Here


            }
        }
       
        // no content, then try <content:encoded>
        if (getText() == null || getText().trim().length() == 0) {
            ContentModule cm = (ContentModule)romeEntry.getModule(ContentModule.URI);
            if (cm != null) {
                setText(StringEscapeUtils.unescapeHtml(cm.getEncoded()));
            }
        }
       
        // copy categories
        if (romeEntry.getCategories().size() > 0) {
View Full Code Here

            }
        }
       
        // no content, then try <content:encoded>
        if (getText() == null || getText().trim().length() == 0) {
            ContentModule cm = (ContentModule)romeEntry.getModule(ContentModule.URI);
            if (cm != null) {
                setText(StringEscapeUtils.unescapeHtml(cm.getEncoded()));
            }
        }
       
        // copy categories
        if (romeEntry.getCategories().size() > 0) {
View Full Code Here

TOP

Related Classes of org.apache.roller.util.rome.ContentModule

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.