Skip to content
Snippets Groups Projects
Commit a4e07054 authored by mbrodhu's avatar mbrodhu
Browse files

added idiom mets mods to metadataformat list

parent d37012a5
No related branches found
No related tags found
No related merge requests found
...@@ -47,12 +47,17 @@ public class MetadataFormatListDeliverer { ...@@ -47,12 +47,17 @@ public class MetadataFormatListDeliverer {
ListMetadataFormatsType lmft = new ListMetadataFormatsType(); ListMetadataFormatsType lmft = new ListMetadataFormatsType();
MetadataFormatType mft = new MetadataFormatType(); MetadataFormatType mft = new MetadataFormatType();
MetadataFormatType mftIdiomMets = new MetadataFormatType();
mft.setMetadataNamespace("http://www.openarchives.org/OAI/2.0/oai_dc/"); mft.setMetadataNamespace("http://www.openarchives.org/OAI/2.0/oai_dc/");
mft.setMetadataPrefix(TGConstants.METADATA_DC_PREFIX); mft.setMetadataPrefix(TGConstants.METADATA_DC_PREFIX);
mft.setSchema("http://www.openarchives.org/OAI/2.0/oai_dc.xsd"); mft.setSchema("http://www.openarchives.org/OAI/2.0/oai_dc.xsd");
lmft.getMetadataFormat().add(mft); lmft.getMetadataFormat().add(mft);
mftIdiomMets.setMetadataNamespace("http://www.loc.gov/METS/");
mftIdiomMets.setMetadataPrefix(TGConstants.METADATA_IDIOM_PREFIX);
mftIdiomMets.setSchema("http://www.loc.gov/standards/mets/mets.xsd");
lmft.getMetadataFormat().add(mftIdiomMets);
return lmft; return lmft;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment