Class AtomBuilder
Typically, you'll want to do a static import on this class and then call the methods like so...
   
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic final CategoryCreates aCategoryelement with the specifiedCategory.setTerm(String)attribute.static final Contentcontent()Creates aContentelement with the specifiedContent.setType(String)attribute.static final ContentCreates aContentelement.static final EntryCreates anEntryelement with the specifiedEntry.setId(Id),Entry.setTitle(Text), andEntry.setUpdated(Calendar)attributes.static final EntryCreates anEntryelement with the specifiedEntry.setId(Id),Entry.setTitle(Text), andEntry.setUpdated(Calendar)attributes.static final FeedCreates aFeedelement with the specifiedFeed.setId(Id),Entry.setTitle(Text), andFeed.setUpdated(Calendar)attributes.static final FeedCreates aFeedelement with the specifiedFeed.setId(Id),Entry.setTitle(Text), andFeed.setUpdated(Calendar)attributes.static final GeneratorCreates aGeneratorelement with the specifiedGenerator.setText(String)child node.static final IconCreates anIconelement with the specifiedIcon.setUri(Object)attribute.static final IdCreates anIdelement with the specifiedId.setText(String)child node.static final LinkCreates aLinkelement with the specifiedLink.setRel(String),Link.setType(String), andLink.setHref(String)attributes.static final LogoCreates aLogoelement with the specifiedLogo.setUri(Object)attribute.static final PersonCreates aPersonelement with the specifiedPerson.setName(String)attribute.static final Sourcesource()Creates aSourceelement.static final Texttext()Creates aTextelement.static final TextCreates aTextelement with the specifiedText.setType(String)attribute.
- 
Constructor Details- 
AtomBuilderprotected AtomBuilder()Constructor.
 
- 
- 
Method Details- 
categoryCreates aCategoryelement with the specifiedCategory.setTerm(String)attribute.- Parameters:
- term- The- Category.setTerm(String)attribute.
- Returns:
- The new element.
 
- 
contentCreates aContentelement with the specifiedContent.setType(String)attribute.- Returns:
- The new element.
 
- 
contentCreates aContentelement.- Parameters:
- type- The- Content.setType(String)attribute.
- Returns:
- The new element.
 
- 
entryCreates anEntryelement with the specifiedEntry.setId(Id),Entry.setTitle(Text), andEntry.setUpdated(Calendar)attributes.- Parameters:
- id- The- Entry.setId(Id)attribute.
- title- The- Entry.setTitle(Text)attribute.
- updated- The- Entry.setUpdated(Calendar)attribute.
- Returns:
- The new element.
 
- 
entryCreates anEntryelement with the specifiedEntry.setId(Id),Entry.setTitle(Text), andEntry.setUpdated(Calendar)attributes.- Parameters:
- id- The- Entry.setId(Id)attribute.
- title- The- Entry.setTitle(Text)attribute.
- updated- The- Entry.setUpdated(Calendar)attribute.
- Returns:
- The new element.
 
- 
feedCreates aFeedelement with the specifiedFeed.setId(Id),Entry.setTitle(Text), andFeed.setUpdated(Calendar)attributes.- Parameters:
- id- The- Feed.setId(Id)attribute.
- title- The- Feed.setTitle(Text)attribute.
- updated- The- Feed.setUpdated(Calendar)attribute.
- Returns:
- The new element.
 
- 
feedCreates aFeedelement with the specifiedFeed.setId(Id),Entry.setTitle(Text), andFeed.setUpdated(Calendar)attributes.- Parameters:
- id- The- Feed.setId(Id)attribute.
- title- The- Feed.setTitle(Text)attribute.
- updated- The- Feed.setUpdated(Calendar)attribute.
- Returns:
- The new element.
 
- 
generatorCreates aGeneratorelement with the specifiedGenerator.setText(String)child node.- Parameters:
- text- The- Generator.setText(String)child node.
- Returns:
- The new element.
 
- 
iconCreates anIconelement with the specifiedIcon.setUri(Object)attribute.The value can be of any of the following types: URI,URL,String. Strings must be valid URIs.URIs defined by UriResolvercan be used for values.- Parameters:
- uri- The- Icon.setUri(Object)attribute.
- Returns:
- The new element.
 
- 
idCreates anIdelement with the specifiedId.setText(String)child node.- Parameters:
- text- The- Id.setText(String)child node.
- Returns:
- The new element.
 
- 
linkCreates aLinkelement with the specifiedLink.setRel(String),Link.setType(String), andLink.setHref(String)attributes.- Parameters:
- rel- The- Link.setRel(String)attribute.
- type- The- Link.setType(String)attribute.
- href- The- Link.setHref(String)attribute.
- Returns:
- The new element.
 
- 
logoCreates aLogoelement with the specifiedLogo.setUri(Object)attribute.The value can be of any of the following types: URI,URL,String. Strings must be valid URIs.URIs defined by UriResolvercan be used for values.- Parameters:
- uri- The- Logo.setUri(Object)attribute.
- Returns:
- The new element.
 
- 
personCreates aPersonelement with the specifiedPerson.setName(String)attribute.- Parameters:
- name- The- Person.setName(String)attribute.
- Returns:
- The new element.
 
- 
sourceCreates aSourceelement.- Returns:
- The new element.
 
- 
textCreates aTextelement.- Returns:
- The new element.
 
- 
textCreates aTextelement with the specifiedText.setType(String)attribute.- Parameters:
- type- The- Text.setType(String)attribute.
- Returns:
- The new element.
 
 
-