description = new SyndContentImpl(); description.setType( "text/plain" ); description.setValue( desc ); entry.setDescription( description );
/** * Sets the entry title. * <p> * @param title the entry title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the feed title. * <p> * @param title the feed title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the feed description. * <p> * @param description the feed description to set, <b>null</b> if none. * */ public void setDescription(String description) { if (_description == null) _description = new SyndContentImpl(); _description.setValue(description); }
/** * Sets the feed title. * <p> * @param title the feed title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the feed description. * <p> * @param description the feed description to set, <b>null</b> if none. * */ public void setDescription(String description) { if (_description == null) _description = new SyndContentImpl(); _description.setValue(description); }
/** * Sets the entry title. * <p> * @param title the entry title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the feed title. * <p> * @param title the feed title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the feed description. * <p> * @param description the feed description to set, <b>null</b> if none. * */ public void setDescription(String description) { if (_description == null) _description = new SyndContentImpl(); _description.setValue(description); }
/** * Sets the feed title. * <p> * @param title the feed title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the entry title. * <p> * @param title the entry title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the entry title. * <p> * @param title the entry title to set, <b>null</b> if none. * */ public void setTitle(String title) { if (_title == null) _title = new SyndContentImpl(); _title.setValue(title); }
/** * Sets the feed description. * <p> * @param description the feed description to set, <b>null</b> if none. * */ public void setDescription(String description) { if (_description == null) _description = new SyndContentImpl(); _description.setValue(description); }
/** * Creates a new {@link SyndContent} instance for the given content type and value. * * @param type content type * @param value the content * @return a new {@link SyndContent} instance */ protected SyndContent getSyndContent(String type, String value) { SyndContent content = new SyndContentImpl(); content.setType(type); content.setValue(value); return content; }
public static SyndContent content(String value, String mime, String mode) { final SyndContent c = new SyndContentImpl(); c.setValue(value); c.setType(mime); c.setMode(mode); return c; }
protected SyndContent createSyndContent(Content content) { SyndContent sContent = new SyndContentImpl(); sContent.setType(content.getType()); sContent.setValue(content.getValue()); return sContent; }
protected SyndContent createSyndContent(Content content) { SyndContent sContent = new SyndContentImpl(); sContent.setType(content.getType()); sContent.setValue(content.getValue()); return sContent; }
protected SyndContent createSyndContent(Content content) { SyndContent sContent = new SyndContentImpl(); sContent.setType(content.getType()); sContent.setValue(content.getValue()); return sContent; }
protected SyndContent createSyndContent(Content content) { SyndContent sContent = new SyndContentImpl(); sContent.setType(content.getType()); sContent.setValue(content.getValue()); return sContent; }
private static void _regexpStrip(SyndFeed syndFeed) { syndFeed.setTitle(_regexpStrip(syndFeed.getTitle())); syndFeed.setDescription(_regexpStrip(syndFeed.getDescription())); List<SyndEntry> syndEntries = syndFeed.getEntries(); for (SyndEntry syndEntry : syndEntries) { syndEntry.setTitle(_regexpStrip(syndEntry.getTitle())); SyndContent syndContent = syndEntry.getDescription(); syndContent.setValue(_regexpStrip(syndContent.getValue())); } }