Skip to content
Snippets Groups Projects
Commit 74796307 authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Fix object factory issues at last? hm, we just have got too many of them!

parent 99a2281c
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,9 @@ import javax.xml.bind.JAXBElement;
import org.openarchives.oai._2.MetadataType;
import org.openarchives.oai._2_0.oai_dc.OaiDcType;
import org.purl.dc.elements._1.ElementType;
import org.openarchives.oai._2_0.oai_dc.ObjectFactory;
// import org.openarchives.oai._2_0.oai_dc.ObjectFactory;
// import org.openarchives.oai._2.ObjectFactory;
import org.purl.dc.elements._1.ObjectFactory;
/**
* <p>
......@@ -311,7 +313,10 @@ public final class DublinCoreBuilder {
*/
public MetadataType getDC() {
// this.metadata.setAny(this.oaiDcObj.createDc(this.tgMappedDC));
this.metadata.setAny(this.oaiDcObj.createDc(this.tgMappedDC));
org.openarchives.oai._2_0.oai_dc.ObjectFactory of =
new org.openarchives.oai._2_0.oai_dc.ObjectFactory();
this.metadata.setAny(of.createDc(this.tgMappedDC));
return this.metadata;
}
......
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