protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Content createAtomContent(SyndContent sContent) { Content content = new Content(); content.setType(sContent.getType()); content.setValue(sContent.getValue()); return content; }
protected Content createItemContent(SyndContent sContent) { Content cont = new Content(); cont.setValue(sContent.getValue()); cont.setType(sContent.getType()); return cont; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Content createAtomContent(SyndContent sContent) { Content content = new Content(); content.setType(sContent.getType()); content.setValue(sContent.getValue()); return content; }
protected Content createAtomContent(SyndContent sContent) { Content content = new Content(); content.setType(sContent.getType()); content.setValue(sContent.getValue()); return content; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Content createItemContent(SyndContent sContent) { Content cont = new Content(); cont.setValue(sContent.getValue()); cont.setType(sContent.getType()); return cont; }
protected Content createAtomContent(SyndContent sContent) { Content content = new Content(); content.setType(sContent.getType()); content.setValue(sContent.getValue()); return content; }
protected Content createItemContent(SyndContent sContent) { Content cont = new Content(); cont.setValue(sContent.getValue()); cont.setType(sContent.getType()); return cont; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Description createItemDescription(SyndContent sContent) { Description desc = new Description(); desc.setValue(sContent.getValue()); desc.setType(sContent.getType()); return desc; }
protected Content createItemContent(SyndContent sContent) { Content cont = new Content(); cont.setValue(sContent.getValue()); cont.setType(sContent.getType()); return cont; }
protected Item createRSSItem(SyndEntry sEntry) { Item item = super.createRSSItem(sEntry); SyndContent sContent = sEntry.getDescription(); if (sContent!=null) { item.setDescription(createItemDescription(sContent)); } List contents = sEntry.getContents(); if (contents != null && contents.size() > 0) { SyndContent syndContent = (SyndContent)contents.get(0); Content cont = new Content(); cont.setValue(syndContent.getValue()); cont.setType(syndContent.getType()); item.setContent(cont); } return item; }
protected Item createRSSItem(SyndEntry sEntry) { Item item = super.createRSSItem(sEntry); SyndContent sContent = sEntry.getDescription(); if (sContent!=null) { item.setDescription(createItemDescription(sContent)); } List contents = sEntry.getContents(); if (contents != null && contents.size() > 0) { SyndContent syndContent = (SyndContent)contents.get(0); Content cont = new Content(); cont.setValue(syndContent.getValue()); cont.setType(syndContent.getType()); item.setContent(cont); } return item; }
@Override protected Item createRSSItem(SyndEntry sEntry) { Item item = super.createRSSItem(sEntry); SyndContent sContent = sEntry.getDescription(); if (sContent != null) { item.setDescription(createItemDescription(sContent)); } List contents = sEntry.getContents(); if ((contents != null) && (contents.size() > 0)) { SyndContent syndContent = (SyndContent) contents.get(0); Content cont = new Content(); cont.setValue(syndContent.getValue()); cont.setType(syndContent.getType()); item.setContent(cont); } return item; }
@Override protected Item createRSSItem(SyndEntry sEntry) { Item item = super.createRSSItem(sEntry); SyndContent sContent = sEntry.getDescription(); if (sContent != null) { item.setDescription(createItemDescription(sContent)); } List contents = sEntry.getContents(); if ((contents != null) && (contents.size() > 0)) { SyndContent syndContent = (SyndContent) contents.get(0); Content cont = new Content(); cont.setValue(syndContent.getValue()); cont.setType(syndContent.getType()); item.setContent(cont); } return item; }