Class Common

java.lang.Object
org.apache.juneau.dto.atom.Common
Direct Known Subclasses:
Category, CommonEntry, Generator, Icon, Id, Link, Logo, Person, Text

public abstract class Common extends Object
Represents an atomCommonAttributes construct in the RFC4287 specification.
Schema

atomCommonAttributes = attribute xml:base { atomUri }?, attribute xml:lang { atomLanguageTag }?, undefinedAttribute*

See Also:
  • Constructor Details

  • Method Details

    • getBase

      @Xml(prefix="xml", format=ATTR) public URI getBase()
      Bean property getter: base.

      The URI base of this object.

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

      public Common setBase(Object value)
      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.

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

      @Xml(prefix="xml", format=ATTR) public String getLang()
      Bean property getter: lang.

      The language of this object.

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

      public Common setLang(String value)
      Bean property setter: lang.

      The language of this object.

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

      public String toString()
      Overrides:
      toString in class Object