|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectORG.oclc.oai.server.crosswalk.Crosswalk
org.dspace.app.oai.UKETDDCCrosswalk
public class UKETDDCCrosswalk
A Crosswalk implementation that extracts qualified Dublin Core from DSpace items into the uketd_dc format. It supports the writing of UKETD_DC metadata in a METS document and to make the schema URIs available for inclusion in such a METS document. For this reason, the writing of the metadata itself has been separated from the writing of the schemas. This version places the writing of the header and metadata in its own method called by createMetadata so the headers are included in the UKETD_METS that also uses those methods. This allows the writeMetadata method to remain unchanged, with no header information included. It is therefore consistent with other DSpace crosswalks.
| Constructor Summary | |
|---|---|
UKETDDCCrosswalk(Properties properties)
UKETDDCCrosswalk contructor. |
|
| Method Summary | |
|---|---|
String |
createMetadata(Object nativeItem)
Creates the metadata necessary for UKTEDDC crosswalk. |
String |
getDcNs()
Returns the identifier for the Dublin Core namespace. |
String |
getDcTermsNs()
Returns the identifier for the DC terms (qualifiers) namespace. |
String |
getDcTermsUri()
Returns the URI of the DC terms namespace. |
String |
getDcUri()
Returns the URI of the Dublin Core namespace. |
String |
getUketdNs()
Returns the identifier for the UKETD namespace. |
String |
getUketdSchemaLocNs()
Returns the identifier for the UKETD schema location. |
String |
getUketdSchemaLocUri()
Returns the URI of the UKETD schema location. |
String |
getUketdTermsNs()
Returns the identifier for the UKETD terms namespace. |
String |
getUketdTermsUri()
Returns the URI of the UKETD terms namespace. |
String |
getUketdUri()
Returns the URI of the UKETD namespace. |
boolean |
isAvailableFor(Object nativeItem)
Shows what items UKETD_DC OAI-PMH is available for. |
String |
writeMetadata(Item item)
Writes the UKETD_DC metadata for the specified item. |
String |
writeMetadataWithSchema(Item item)
Write the item's metadata, headed by the schema namespace details. |
| Methods inherited from class ORG.oclc.oai.server.crosswalk.Crosswalk |
|---|
getContentType, getDocType, getEncoding, getNamespaceURL, getSchemaLocation, getSchemaURL, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UKETDDCCrosswalk(Properties properties)
properties - Not used| Method Detail |
|---|
public String getUketdNs()
public String getUketdUri()
public String getDcNs()
public String getDcUri()
public String getDcTermsNs()
public String getDcTermsUri()
public String getUketdTermsNs()
public String getUketdTermsUri()
public String getUketdSchemaLocNs()
public String getUketdSchemaLocUri()
public boolean isAvailableFor(Object nativeItem)
isAvailableFor in class ORG.oclc.oai.server.crosswalk.Crosswalk
public String createMetadata(Object nativeItem)
throws ORG.oclc.oai.server.verb.CannotDisseminateFormatException
createMetadata in class ORG.oclc.oai.server.crosswalk.CrosswalkORG.oclc.oai.server.verb.CannotDisseminateFormatExceptionpublic String writeMetadataWithSchema(Item item)
item - The org.dspace.content.Item
SQLExceptionpublic String writeMetadata(Item item)
item - a org.dspace.content.Item
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||