1 40 41 package org.dspace.content.crosswalk; 42 43 import java.io.OutputStream ; 44 import java.io.IOException ; 45 import java.util.List ; 46 47 import java.sql.SQLException ; 48 49 import org.dspace.core.Context; 50 import org.dspace.content.Item; 51 import org.dspace.content.DSpaceObject; 52 import org.dspace.authorize.AuthorizeException; 53 54 import org.jdom.Element; 55 import org.jdom.Namespace; 56 57 69 public interface DisseminationCrosswalk 70 { 71 72 static final Namespace XSI_NS = 73 Namespace.getNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance"); 74 75 81 public Namespace[] getNamespaces(); 82 83 94 public String getSchemaLocation(); 95 96 103 public boolean canDisseminate(DSpaceObject dso); 104 105 119 public boolean preferList(); 120 121 140 public List disseminateList(DSpaceObject dso) 141 throws CrosswalkException, IOException , SQLException , 142 AuthorizeException; 143 144 159 public Element disseminateElement(DSpaceObject dso) 160 throws CrosswalkException, IOException , SQLException , 161 AuthorizeException; 162 } 163 | Popular Tags |