|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.restlet.ext.atom.Generator
public class Generator
Identifies the agent used to generate a feed, for debugging and other purposes.
Constructor Summary | |
---|---|
Generator()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the human-readable name for the generating agent. |
Reference |
getUri()
Returns the reference of the generating agent. |
java.lang.String |
getVersion()
Returns the version of the generating agent. |
void |
setName(java.lang.String name)
Sets the human-readable name for the generating agent. |
void |
setUri(Reference uri)
Sets the reference of the generating agent. |
void |
setVersion(java.lang.String version)
Sets the version of the generating agent. |
void |
writeElement(XmlWriter writer)
Writes the current object as an XML element using the given SAX writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Generator()
Method Detail |
---|
public java.lang.String getName()
public Reference getUri()
public java.lang.String getVersion()
public void setName(java.lang.String name)
name
- The human-readable name for the generating agent.public void setUri(Reference uri)
uri
- The reference of the generating agent.public void setVersion(java.lang.String version)
version
- The version of the generating agent.public void writeElement(XmlWriter writer) throws org.xml.sax.SAXException
writer
- The SAX writer.
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |