|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.purl.sword.base.XmlElement
org.w3.atom.Generator
public class Generator
Represents an ATOM Generator element.
| Field Summary |
|---|
| Fields inherited from class org.purl.sword.base.XmlElement |
|---|
DATE_FORMAT, localName, prefix |
| Constructor Summary | |
|---|---|
Generator()
Create a new instance and set the prefix to 'atom' and the local name to 'generator'. |
|
| Method Summary | |
|---|---|
String |
getContent()
Get the content. |
String |
getUri()
Get the URI. |
String |
getVersion()
Get the version. |
nu.xom.Element |
marshall()
Marshall the data in the object to an Element object. |
void |
setContent(String content)
Set the content. |
void |
setUri(String uri)
Set the URI. |
void |
setVersion(String version)
Set the version. |
void |
unmarshall(nu.xom.Element generator)
Unmarshall the specified Generator element into the data in this object. |
| Methods inherited from class org.purl.sword.base.XmlElement |
|---|
dateToString, getQualifiedName, getQualifiedName, isInstanceOf, stringToDate, unmarshallBoolean, unmarshallDate, unmarshallInteger, unmarshallString |
| 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 nu.xom.Element marshall()
marshall in interface SwordElementInterface
public void unmarshall(nu.xom.Element generator)
throws UnmarshallException
unmarshall in interface SwordElementInterfacegenerator - The generator element.
UnmarshallException - If the specified element is not an atom:generator
element, or if there is an error accessing the data.public String getContent()
public void setContent(String content)
content - The content.public String getUri()
public void setUri(String uri)
uri - The URI.public String getVersion()
public void setVersion(String version)
version - The version.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||