SyndLinkImpl comments = new SyndLinkImpl(); comments.setRel("comments"); comments.setHref(item.getComments()); comments.setType("text/html");
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setTitle( link.getTitle()); return syndLink; }
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setTitle( link.getTitle()); return syndLink; }
SyndLinkImpl comments = new SyndLinkImpl(); comments.setRel("comments"); comments.setHref(item.getComments()); comments.setType("text/html");
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setTitle( link.getTitle()); return syndLink; }
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setTitle( link.getTitle()); return syndLink; }
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setHreflang(link.getHreflang()); syndLink.setLength( link.getLength()); syndLink.setTitle( link.getTitle()); return syndLink; }
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setHreflang(link.getHreflang()); syndLink.setLength( link.getLength()); syndLink.setTitle( link.getTitle()); return syndLink; }
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setHreflang(link.getHreflang()); syndLink.setLength( link.getLength()); syndLink.setTitle( link.getTitle()); return syndLink; }
public SyndLink createSyndLink(Link link) { SyndLink syndLink = new SyndLinkImpl(); syndLink.setRel( link.getRel()); syndLink.setType( link.getType()); syndLink.setHref( link.getHrefResolved()); syndLink.setHreflang(link.getHreflang()); syndLink.setLength( link.getLength()); syndLink.setTitle( link.getTitle()); return syndLink; }
private SyndEntry toSyndEntry(TgwEntry tgwEntry) { SyndEntry entry = new SyndEntryImpl(); // basic info //entry.setUri("http://aaa.com/" + entry.hashCode()); //entry.setLink("http://aaa.com/" + entry.hashCode()); entry.setTitle(tgwEntry.getTitle()); entry.setPublishedDate(tgwEntry.getPublished()); entry.setUpdatedDate(tgwEntry.getUpdated()); entry.setAuthor(tgwEntry.getAuthor()); // entry.setLink("abcd"); SyndLink link = new SyndLinkImpl(); link.setRel("self"); link.setType("application/atom+xml"); link.setHref("xxxx"); // SyndLink link = new SyndLinkImpl(); // link.set // content SyndContent content = new SyndContentImpl(); content.setType("text/plain"); content.setValue(tgwEntry.getContent()); entry.setDescription(content); List<SyndContent> list = new ArrayList<SyndContent>(); list.add(content); entry.setContents(list); return entry; }