org.apache.wink.common.model.atom
Class AtomGenerator
java.lang.Object
org.apache.wink.common.model.atom.AtomCommonAttributesSimpleContent
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 java.lang.String |
uri
|
protected java.lang.String |
version
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
uri
protected java.lang.String uri
version
protected java.lang.String version
AtomGenerator
public AtomGenerator()
AtomGenerator
public AtomGenerator(SyndGenerator value)
toSynd
public SyndGenerator toSynd(SyndGenerator value)
getUri
public java.lang.String getUri()
- Gets the value of uri.
- Returns:
- possible object is
String
setUri
public void setUri(java.lang.String value)
- Sets the value of uri.
- Parameters:
value
- allowed object is String
getVersion
public java.lang.String getVersion()
- Gets the value of version.
- Returns:
- possible object is
String
setVersion
public void setVersion(java.lang.String value)
- Sets the value of version.
- Parameters:
value
- allowed object is String
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.