Package io.micronaut.rss.jsonfeed
Class JsonFeedAuthor
java.lang.Object
io.micronaut.rss.jsonfeed.JsonFeedAuthor
A JSON Feed Author.
- Since:
- 2.2.0
- Author:
- Sergio del Amo, mark1626
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classJSON Feed Author's Builder.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic @NonNull JsonFeedAuthor.Builderbuilder()@Nullable Stringthe URL for an image for the author.@Nullable StringgetName()Name of the author.@Nullable StringgetUrl()The URL of a site owned by the author.booleanisEmpty()voidThe URL for an image for the author.voidName of the author.voidThe URL of a site owned by the author.toMap()
- 
Field Details- 
KEY_AVATAR- See Also:
 
- 
KEY_URL- See Also:
 
- 
KEY_NAME- See Also:
 
 
- 
- 
Constructor Details- 
JsonFeedAuthorpublic JsonFeedAuthor()
 
- 
- 
Method Details- 
getNameName of the author.- Returns:
- name of the author
 
- 
setNameName of the author.- Parameters:
- name- name of the author
 
- 
getUrlThe URL of a site owned by the author.- Returns:
- the URL of a site owned by the author
 
- 
setUrlThe URL of a site owned by the author.- Parameters:
- url- the URL of a site owned by the author
 
- 
getAvatarthe URL for an image for the author.- Returns:
- the URL for an image for the author.
 
- 
setAvatarThe URL for an image for the author. It should be square and relatively large such as 512 x 512 pixels and should use transparency where appropriate, since it may be rendered on a non-white background.- Parameters:
- avatar- the URL for an image for the author.
 
- 
isEmptypublic boolean isEmpty()- Returns:
- true if all author's, name, url and avatar are empty or null.
 
- 
toMap- Returns:
- a Map representation of a JSON Feed Author.
 
- 
builder- Returns:
- JSON Feed Author's Builder.
 
 
-