Class Logo
The logo element contains a URI reference to an image that provides visual identification for the feed. Logos are typically larger than icons and are suitable for display in feed readers, aggregators, and feed directories.
Per RFC 4287 recommendations:
- Should have a 2:1 aspect ratio (twice as wide as tall)
- Common formats: PNG, JPEG, GIF, SVG
- Suitable for prominent display in feed readers
Schema
atomLogo = element atom:logo { atomCommonAttributes, (atomUri) }
Example:
Logo
Specification:
Represents an
See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Logo
Normal constructor.The value can be of any of the following types:
URI
,URL
,String
.
Strings must be valid URIs.URIs defined by
UriResolver
can be used for values.- Parameters:
uri
- The URI of the logo.
-
Logo
public Logo()Bean constructor.
-
-
Method Details
-
getUri
Bean property getter:uri .The URI of the logo.
- Returns:
- The property value, or
null if it is not set.
-
setUri
Bean property setter:uri .The URI of the logo.
The value can be of any of the following types:
URI
,URL
,String
.
Strings must be valid URIs.URIs defined by
UriResolver
can be used for values.- Parameters:
value
- The new value for this property.
Can benull to unset the property.- Returns:
- This object
-
setBase
Description copied from class:Common
-
setLang
Description copied from class:Common
Bean property setter:lang .Sets the natural language of the element's content (xml:lang attribute).
Example:
Text
title =new Text("text" ) .setText("Mon Blog" ) .setLang("fr" );
-