View Javadoc

1   /*
2    * $Id: VoResourcePlugin.java,v 1.3 2004/10/08 17:14:22 mch Exp $
3    *
4    * (C) Copyright Astrogrid...
5    */
6   
7   package org.astrogrid.datacenter.metadata;
8   
9   import java.io.IOException;
10  
11  /***
12   * The metadata plugins just have to return VoResource elements (children of
13   * a VoDescription element)
14   * <p>
15   * @author M Hill
16   */
17  
18  public interface VoResourcePlugin
19  {
20     
21     public final static String RESOURCE_PLUGIN_KEY = "datacenter.resource.plugin";
22     
23     /***
24      * Returns an array of VOResource elements of the metadata.  Returns a string (rather than
25      * DOM element)
26      * so that we can combine them easily; some DOMs do not mix well.
27      */
28     public String[] getVoResources() throws IOException;
29     
30  }
31  
32