|
||||||||||
| 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.Source
public class Source
Represents an ATOM Generator element.
| Field Summary |
|---|
| Fields inherited from class org.purl.sword.base.XmlElement |
|---|
DATE_FORMAT, localName, prefix |
| Constructor Summary | |
|---|---|
Source()
Create a new instance and set the prefix to 'atom' and the local name to 'source'. |
|
| Method Summary | |
|---|---|
Generator |
getGenerator()
Get the generator. |
nu.xom.Element |
marshall()
Marshall the data stored in this object into Element objects. |
void |
setGenerator(Generator generator)
Set the generator. |
void |
unmarshall(nu.xom.Element source)
Unmarshall the contents of the source element into the internal data objects 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 Source()
| Method Detail |
|---|
public nu.xom.Element marshall()
marshall in interface SwordElementInterface
public void unmarshall(nu.xom.Element source)
throws UnmarshallException
unmarshall in interface SwordElementInterfacesource - The Source element to process.
UnmarshallException - If the element does not contain an ATOM Source
element, or if there is a problem processing the element or any
sub-elements.public Generator getGenerator()
public void setGenerator(Generator generator)
generator - The generator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||