org.apache.wink.common.model.atom
Class AtomGenerator

java.lang.Object
  extended by org.apache.wink.common.model.atom.AtomCommonAttributesSimpleContent
      extended by org.apache.wink.common.model.atom.AtomGenerator

public class AtomGenerator
extends AtomCommonAttributesSimpleContent

The "atom:generator" element Per RFC4287

 The "atom:generator" element's content identifies the agent used to
 generate a feed, for debugging and other purposes.

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

 The content of this element, when present, MUST be a string that is a
 human-readable name for the generating agent.  Entities such as
 "&" and "<" represent their corresponding characters ("&" and
 "<" respectively), not markup.

 The atom:generator element MAY have a "uri" attribute whose value
 MUST be an IRI reference [RFC3987].  When dereferenced, the resulting
 URI (mapped from an IRI, if necessary) SHOULD produce a
 representation that is relevant to that agent.

 The atom:generator element MAY have a "version" attribute that
 indicates the version of the generating agent.
  


Field Summary
protected  String uri
           
protected  String version
           
 
Fields inherited from class org.apache.wink.common.model.atom.AtomCommonAttributesSimpleContent
base, lang, value
 
Constructor Summary
AtomGenerator()
           
AtomGenerator(SyndGenerator value)
           
 
Method Summary
 String getUri()
          Gets the value of uri.
 String getVersion()
          Gets the value of version.
 void setUri(String value)
          Sets the value of uri.
 void setVersion(String value)
          Sets the value of version.
 SyndGenerator toSynd(SyndGenerator value)
           
 
Methods inherited from class org.apache.wink.common.model.atom.AtomCommonAttributesSimpleContent
getBase, getLang, getOtherAttributes, getValue, setBase, setLang, setValue, toSynd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

protected String uri

version

protected String version
Constructor Detail

AtomGenerator

public AtomGenerator()

AtomGenerator

public AtomGenerator(SyndGenerator value)
Method Detail

toSynd

public SyndGenerator toSynd(SyndGenerator value)

getUri

public String getUri()
Gets the value of uri.

Returns:
possible object is String

setUri

public void setUri(String value)
Sets the value of uri.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of version.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of version.

Parameters:
value - allowed object is String


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.