Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Here is the disseminator interface, as implemented experimentally:

public interface DisseminationCrosswalk \
{
// returns array of namespaces, which may be empty.
public org.jdom.Namespace\[\] getNamespaces();

Panel

Wiki Markup
Panel

// returns SchemaLocation string, including URI namespace,
// followed by whitespace and URI of XML schema document, or
// empty string if unknown.
public String getSchemaLocation();

...

I think the interface should use Java generics to allow compile time data type checking. I think everywhere were we currently use the Java collection API we should use generics. Thus, replace <i>java.util.List</i> use <i>java.util.List<org.jdom.Element></i>. This will require that DSpace be compiled with a Java 1.5 compiler (However an older jvm, such as 1.4, will still be able to exceute the bytecode). – ScottPhillips</html>