|
||||||||||
| 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.Entry
org.purl.sword.base.SWORDEntry
public class SWORDEntry
Extension of the ATOM Entry class. This adds support for the additional SWORD elements. These elements reside inside the ATOM Entry object, created in org.w3.atom.Entry class.
| Field Summary |
|---|
| Fields inherited from class org.purl.sword.base.XmlElement |
|---|
DATE_FORMAT, localName, prefix |
| Constructor Summary | |
|---|---|
SWORDEntry()
Create a new instance of the class. |
|
| Method Summary | |
|---|---|
String |
getFormatNamespace()
Get the format namespace. |
String |
getTreatment()
Get the treatment value. |
String |
getVerboseDescription()
Get the Verbose Description for this entry. |
boolean |
isNoOp()
Get the current value of NoOp. |
boolean |
isNoOpSet()
Determine if the noOp value has been set. |
nu.xom.Element |
marshall()
Overrides the marshall method in the parent Entry. |
void |
setFormatNamespace(String formatNamespace)
Set the format namespace. |
void |
setNoOp(boolean noOp)
Call this method to set noOp. |
void |
setTreatment(String treatment)
Set the treatment value. |
void |
setVerboseDescription(String verboseDescription)
Set the verbose description. |
void |
unmarshall(nu.xom.Element entry)
Overrides the unmarshall method in the parent Entry. |
| Methods inherited from class org.w3.atom.Entry |
|---|
addAuthors, addCategory, addContributor, addLink, clearAuthors, clearCategories, clearContributors, clearLinks, getAuthors, getCategories, getContent, getContributors, getId, getLinks, getPublished, getRights, getSource, getSummary, getTitle, getUpdated, setContent, setId, setPublished, setRights, setSource, setSummary, setTitle, setUpdated |
| 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 SWORDEntry()
| Method Detail |
|---|
public boolean isNoOp()
public void setNoOp(boolean noOp)
noOp - public boolean isNoOpSet()
public String getVerboseDescription()
public void setVerboseDescription(String verboseDescription)
verboseDescription - The description.public String getTreatment()
public void setTreatment(String treatment)
treatment - The treatment.public nu.xom.Element marshall()
marshall in interface SwordElementInterfacemarshall in class Entry
public void unmarshall(nu.xom.Element entry)
throws UnmarshallException
unmarshall in interface SwordElementInterfaceunmarshall in class Entryentry - The entry to parse.
UnmarshallException - If the entry is not an atom:entry
or if there is an exception extracting the data.public String getFormatNamespace()
public void setFormatNamespace(String formatNamespace)
formatNamespace - The format namespace.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||