Class Generator

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

@Bean(typeName="generator") public class Generator extends Common
Represents an atomGenerator construct in the RFC4287 specification.
Schema

atomGenerator = element atom:generator { atomCommonAttributes, attribute uri { atomUri }?, attribute version { text }?, text }

See Also:
  • Constructor Details

    • Generator

      public Generator(String text)
      Normal constructor.
      Parameters:
      text - The generator statement content.
    • Generator

      public Generator()
      Bean constructor.
  • Method Details

    • getUri

      @Xml(format=ATTR) public URI getUri()
      Bean property getter: uri.

      The URI of this generator statement.

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

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

      The URI of this generator statement.

      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
    • getVersion

      Bean property getter: version.

      The version of this generator statement.

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

      public Generator setVersion(String value)
      Bean property setter: version.

      The version of this generator statement.

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

      Bean property getter: text.

      The content of this generator statement.

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

      public Generator setText(String value)
      Bean property setter: text.

      The content of this generator statement.

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

      public Generator 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 Generator 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