View Javadoc

1   /*
2    * $Id: VoResourcePlugin.java,v 1.2 2005/03/08 18:05:57 mch Exp $
3    *
4    * (C) Copyright Astrogrid...
5    */
6   
7   package org.astrogrid.dataservice.metadata;
8   
9   import java.io.IOException;
10  
11  /***
12   * The metadata plugins return a VoResource element as a string, or a list of them.
13   * <p>
14   * @author M Hill
15   */
16  
17  public interface VoResourcePlugin
18  {
19     
20     /***
21      * Returns a VOResource element of the metadata.  Returns a string (rather than
22      * DOM element) so that we can combine them easily; some DOMs do not mix well.
23      */
24     public String getVoResource() throws IOException;
25     
26  }
27  
28