Class Generator


  • public final class Generator
    extends Object
    identifies the agent used to generate a feed, for debugging and other purposes.
    Author:
    Ryan Heaton
    See Also:
    The atom spec, section 4.2.4.
    • Constructor Detail

      • Generator

        public Generator()
    • Method Detail

      • getUri

        public URI getUri()
        link to a representation that is relevant to the generating agent.
        Returns:
        link to a representation that is relevant to the generating agent.
      • setUri

        public void setUri​(URI uri)
        link to a representation that is relevant to the generating agent.
        Parameters:
        uri - link to a representation that is relevant to the generating agent.
      • getVersion

        public String getVersion()
        the version of the generating agent
        Returns:
        the version of the generating agent
      • setVersion

        public void setVersion​(String version)
        the version of the generating agent
        Parameters:
        version - the version of the generating agent
      • getValue

        public String getValue()
        human-readable name for the generating agent
        Returns:
        human-readable name for the generating agent
      • setValue

        public void setValue​(String value)
        human-readable name for the generating agent
        Parameters:
        value - human-readable name for the generating agent