public class Eml211
extends ORG.oclc.oai.server.crosswalk.Crosswalk
Constructor and Description |
---|
Eml211(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 'eml-2.1.1' format?
|
public Eml211(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 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
- A HashMap object that contains the EML string that was
retrieved from Metacat and stored as the value of the
"recordBytes" keyORG.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 © 2019 Regents of the University of California. All Rights Reserved.