Class Generator
The generator element provides information about the software that created the feed. This is useful for debugging, analytics, and understanding the tools used in feed creation.
The generator has three components:
- Text content (required) - Human-readable name of the generating agent
- uri attribute (optional) - URI identifying or describing the generating agent
- version attribute (optional) - Version of the generating agent
Schema
atomGenerator = element atom:generator { atomCommonAttributes, attribute uri { atomUri }?, attribute version { text }?, text }
Example:
   Generator 
Specification:
 Represents an 
See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetText()Bean property getter:text .getUri()Bean property getter:uri .Bean property getter:version .Bean property setter:base .Bean property setter:lang .Bean property setter:text .Bean property setter:uri .setVersion(String value) Bean property setter:version .
- 
Constructor Details- 
GeneratorNormal constructor.- Parameters:
- text- The generator statement content.
 
- 
Generatorpublic Generator()Bean constructor.
 
- 
- 
Method Details- 
getUriBean property getter:uri .The URI of this generator statement. - Returns:
- The property value, or null if it is not set.
 
- 
setUriBean 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
 
- 
getVersionBean property getter:version .The version of this generator statement. - Returns:
- The property value, or null if it is not set.
 
- 
setVersionBean 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
 
- 
getTextBean property getter:text .The content of this generator statement. - Returns:
- The property value, or null if it is not set.
 
- 
setTextBean 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
 
- 
setBaseDescription copied from class:Common
- 
setLangDescription copied from class:CommonBean property setter:lang .Sets the natural language of the element's content (xml:lang attribute). Example:Text title =new Text("text" ) .setText("Mon Blog" ) .setLang("fr" );
 
-