| |
|
| java.lang.Object org.purl.sword.base.XmlElement org.w3.atom.Generator
Constructor Summary | |
public | Generator() Create a new instance and set the prefix to
'atom' and the local name to 'generator'. |
Generator | public Generator()(Code) | | Create a new instance and set the prefix to
'atom' and the local name to 'generator'.
|
getContent | public String getContent()(Code) | | Get the content.
The content. |
getVersion | public String getVersion()(Code) | | Get the version.
The version. |
marshall | public Element marshall()(Code) | | Marshall the data in the object to an Element object.
The element. |
setContent | public void setContent(String content)(Code) | | Set the content.
Parameters: content - The content. |
setUri | public void setUri(String uri)(Code) | | Set the URI.
Parameters: uri - The URI. |
setVersion | public void setVersion(String version)(Code) | | Set the version.
Parameters: version - The version. |
unmarshall | public void unmarshall(Element generator) throws UnmarshallException(Code) | | Unmarshall the specified Generator element into the data in this object.
Parameters: generator - The generator element. throws: UnmarshallException - If the specified element is not an atom:generator element, or if there is an error accessing the data. |
|
|
|