Class Icon

java.lang.Object
org.apache.juneau.dto.atom.Common
org.apache.juneau.dto.atom.Icon

@Bean(typeName="icon") public class Icon extends Common
Represents an atomIcon construct in the RFC4287 specification.
Schema

atomIcon = element atom:icon { atomCommonAttributes, (atomUri) }

See Also:
  • Constructor Details

    • Icon

      public Icon(Object uri)
      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 icon.
    • Icon

      public Icon()
      Bean constructor.
  • Method Details

    • getUri

      Bean property getter: uri.

      The URI of this icon.

      Returns:
      The property value, or null if it is not set.
    • setUri

      public Icon setUri(Object value)
      Bean property setter: uri.

      The URI of this icon.

      The value can be of any of the following types: URI, URL, String. Strings must be valid URIs.

      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setBase

      public Icon setBase(Object value)
      Description copied from class: Common
      Bean property setter: term.

      The URI base of this object.

      The value can be of any of the following types: URI, URL, String. Strings must be valid URIs.

      Overrides:
      setBase in class Common
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object
    • setLang

      public Icon setLang(String value)
      Description copied from class: Common
      Bean property setter: lang.

      The language of this object.

      Overrides:
      setLang in class Common
      Parameters:
      value - The new value for this property.
      Can be null to unset the property.
      Returns:
      This object