| |
|
| java.lang.Object org.purl.sword.base.XmlElement org.w3.atom.Source
Constructor Summary | |
public | Source() Create a new instance and set the prefix to
'atom' and the local name to 'source'. |
Method Summary | |
public Generator | getGenerator() Get the generator. | public Element | marshall() Marshall the data stored in this object into Element objects. | public void | setGenerator(Generator generator) Set the generator. | public void | unmarshall(Element source) Unmarshall the contents of the source element into the internal data objects
in this object. |
Source | public Source()(Code) | | Create a new instance and set the prefix to
'atom' and the local name to 'source'.
|
getGenerator | public Generator getGenerator()(Code) | | Get the generator.
The generator. |
marshall | public Element marshall()(Code) | | Marshall the data stored in this object into Element objects.
An element that holds the data associated with this object. |
setGenerator | public void setGenerator(Generator generator)(Code) | | Set the generator.
Parameters: generator - The generator. |
unmarshall | public void unmarshall(Element source) throws UnmarshallException(Code) | | Unmarshall the contents of the source element into the internal data objects
in this object.
Parameters: source - The Source element to process. throws: UnmarshallException - If the element does not contain an ATOM Sourceelement, or if there is a problem processing the element or any sub-elements. |
|
|
|