|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.sword.DSpaceATOMEntry
public class DSpaceATOMEntry
Class to represent a DSpace Item as an ATOM Entry. This handles the objects in a default way, but the intention is for you to be able to extend the class with your own representation if necessary.
| Field Summary | |
|---|---|
protected SWORDEntry |
entry
the SWORD ATOM entry which this class effectively decorates |
protected Item |
item
the item this ATOM entry represents |
| Constructor Summary | |
|---|---|
DSpaceATOMEntry()
|
|
| Method Summary | |
|---|---|
protected void |
addAuthors()
add the author names from the bibliographic metadata. |
protected void |
addCategories()
Add all the subject classifications from the bibliographic metadata. |
protected void |
addContentElement(String handle,
boolean noOp)
Set the content type that DSpace received. |
protected void |
addContributors()
Add the list of contributors to the item. |
protected void |
addIdentifier(String handle,
boolean noOp)
Add the identifier for the item. |
protected void |
addLastUpdatedDate()
Add the date that this item was last updated |
protected void |
addLinks(String handle)
Add links associated with this item. |
protected void |
addPublishDate()
Add the date of publication from the bibliographic metadata |
protected void |
addRights(String handle)
Add rights information. |
protected void |
addSource()
Add the source of the bibliographic metadata. |
protected void |
addSummary()
Add the summary/abstract from the bibliographic metadata |
protected void |
addTitle()
Add the title from the bibliographic metadata |
SWORDEntry |
getSWORDEntry(Item item,
String handle,
boolean noOp)
Construct the SWORDEntry object which represents the given item with the given handle. |
protected void |
setFormatNamespace()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SWORDEntry entry
protected Item item
| Constructor Detail |
|---|
public DSpaceATOMEntry()
| Method Detail |
|---|
public SWORDEntry getSWORDEntry(Item item,
String handle,
boolean noOp)
throws DSpaceSWORDException
item - the item to representhandle - the handle for the itemnoOp - whether this is a noOp request
DSpaceSWORDExceptionprotected void addAuthors()
protected void addCategories()
protected void addContentElement(String handle,
boolean noOp)
protected void addContributors()
protected void addIdentifier(String handle,
boolean noOp)
handle -
protected void addLinks(String handle)
throws DSpaceSWORDException
DSpaceSWORDExceptionprotected void addPublishDate()
protected void addRights(String handle)
protected void addSource()
protected void addSummary()
protected void addTitle()
protected void addLastUpdatedDate()
protected void setFormatNamespace()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||