public class Eml2oai_dc
extends ORG.oclc.oai.server.crosswalk.Crosswalk
Constructor and Description |
---|
Eml2oai_dc(java.util.Properties properties)
The constructor assigns the schemaLocation associated with this crosswalk.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createMetadata(java.lang.Object nativeItem)
Perform the actual crosswalk.
|
boolean |
isAvailableFor(java.lang.Object nativeItem)
Can this nativeItem be represented in DC format?
|
static void |
setDirPath(java.lang.String configDir) |
public Eml2oai_dc(java.util.Properties properties) throws ORG.oclc.oai.server.verb.OAIInternalServerError
properties
- properties that are needed to configure the crosswalk.ORG.oclc.oai.server.verb.OAIInternalServerError
public static void setDirPath(java.lang.String configDir)
public java.lang.String createMetadata(java.lang.Object nativeItem) throws ORG.oclc.oai.server.verb.CannotDisseminateFormatException
createMetadata
in class ORG.oclc.oai.server.crosswalk.Crosswalk
nativeItem
- the native "item". In this case, it is already formatted as an OAI
ORG.oclc.oai.server.verb.CannotDisseminateFormatException
- nativeItem doesn't support this format.public boolean isAvailableFor(java.lang.Object nativeItem)
isAvailableFor
in class ORG.oclc.oai.server.crosswalk.Crosswalk
nativeItem
- a record in native formatCopyright © 2023 Regents of the University of California. All Rights Reserved.