| org.purl.sword.base.SwordElementInterface
All known Subclasses: org.w3.atom.Content, org.purl.sword.base.Service, org.purl.sword.base.Collection, org.w3.atom.Link, org.w3.atom.TextConstruct, org.purl.sword.base.Workspace, org.w3.atom.Source, org.w3.atom.Entry, org.w3.atom.Generator, org.w3.atom.Author,
SwordElementInterface | public interface SwordElementInterface (Code) | | Common methods that should be supported by all classes that
represent data in the SWORD api.
author: Neil Taylor |
Method Summary | |
public Element | marshall() Marshall the data in the object to the XOM Element. | public void | unmarshall(Element element) Unmarshall the data in the specified element and store it
in the object. |
marshall | public Element marshall()(Code) | | Marshall the data in the object to the XOM Element.
The Element. |
unmarshall | public void unmarshall(Element element) throws UnmarshallException(Code) | | Unmarshall the data in the specified element and store it
in the object.
Parameters: element - The data to unmarshall. throws: UnmarshallException - If the element is not of the correct type, or if there is an error unmarshalling the data. |
|
|