Lizzy v1.1.1

christophedelory.atom
Class Generator

java.lang.Object
  extended by christophedelory.atom.Common
      extended by christophedelory.atom.Generator

public class Generator
extends Common

The agent used to generate a feed, for debugging and other purposes.

Version:
$Revision: 92 $
Author:
Christophe Delory

Constructor Summary
Generator()
           
 
Method Summary
 String getURIString()
          Returns an URI representing the agent.
 String getValue()
          Returns a human-readable name for the generating agent.
 String getVersion()
          Returns the version of the generating agent.
 void setURIString(String uri)
          Initializes the URI representing the agent.
 void setValue(String value)
          Initializes a human-readable name for the generating agent.
 void setVersion(String version)
          Initializes the version of the generating agent.
 
Methods inherited from class christophedelory.atom.Common
getBaseString, getLang, setBaseString, setLang
 
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

getValue

public String getValue()
Returns a human-readable name for the generating agent. No default value.

Returns:
an agent name. May be null if not yet initialized.
See Also:
setValue(java.lang.String)

setValue

public void setValue(String value)
Initializes a human-readable name for the generating agent.

Parameters:
value - an agent name. Shall not be null.
Throws:
NullPointerException - if value is null.
See Also:
setValue(java.lang.String)

getURIString

public String getURIString()
Returns an URI representing the agent.

Returns:
an URI as a string. May be null.
See Also:
setURIString(java.lang.String)

setURIString

public void setURIString(String uri)
Initializes the URI representing the agent.

Parameters:
uri - an URI as a string. May be null.
See Also:
getURIString()

getVersion

public String getVersion()
Returns the version of the generating agent.

Returns:
a version. May be null.
See Also:
setVersion(java.lang.String)

setVersion

public void setVersion(String version)
Initializes the version of the generating agent.

Parameters:
version - a version. May be null.
See Also:
getVersion()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.