|
||||||||||
| 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. |
|
Generator(String name,
Reference uri,
String version)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getName()
Returns the human-readable name for the generating agent. |
Reference |
getUri()
Returns the reference of the generating agent. |
String |
getVersion()
Returns the version of the generating agent. |
void |
setName(String name)
Sets the human-readable name for the generating agent. |
void |
setUri(Reference uri)
Sets the reference of the generating agent. |
void |
setVersion(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()
public Generator(String name,
Reference uri,
String version)
name - Human-readable name for the generating agent.uri - Reference of the generating agent.version - Version of the generating agent.| Method Detail |
|---|
public String getName()
public Reference getUri()
public String getVersion()
public void setName(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(String version)
version - The version of the generating agent.
public void writeElement(XmlWriter writer)
throws SAXException
writer - The SAX writer.
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||