org.gedcomx.atom
Class Generator

java.lang.Object
  extended by org.gedcomx.atom.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 Summary
Generator()
           
 
Method Summary
 URI getBase()
          The base.
 String getLang()
          The language.
 URI getUri()
          link to a representation that is relevant to the generating agent.
 String getValue()
          human-readable name for the generating agent
 String getVersion()
          the version of the generating agent
 void setBase(URI base)
          The base.
 void setLang(String lang)
          The language.
 void setUri(URI uri)
          link to a representation that is relevant to the generating agent.
 void setValue(String value)
          human-readable name for the generating agent
 void setVersion(String version)
          the version of the generating agent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Generator

public Generator()
Method Detail

getLang

public String getLang()
The language.

Returns:
The language.
See Also:
The atom spec, section 2.

setLang

public void setLang(String lang)
The language.

Parameters:
lang - The language.
See Also:
The atom spec, section 2.

getBase

public URI getBase()
The base.

Returns:
The base.
See Also:
The atom spec, section 2.

setBase

public void setBase(URI base)
The base.

Parameters:
base - The base.
See Also:
The atom spec, section 2.

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


Copyright © 2016. All rights reserved.