Class AtomBuilder

java.lang.Object
org.apache.juneau.dto.atom.AtomBuilder

public class AtomBuilder extends Object
Various useful static methods for creating ATOM elements.

Typically, you'll want to do a static import on this class and then call the methods like so...

import static org.apache.juneau.dto.atom.AtomBuilder.*; Feed feed = feed("tag:juneau.sample.com,2013:1", "Juneau ATOM specification", "2013-05-08T12:29:29Z") .subtitle(text("html") .children("A <em>lot</em> of effort went into making this effortless")) .links( link("alternate", "text/html", "http://www.sample.com/") .hreflang("en"), link("self", "application/atom+xml", "http://www.sample.com/feed.atom") );

See Also: