Project

General

Profile

Download (1.13 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * Copyright (C) 2009 EDIT
3
 * European Distributed Institute of Taxonomy 
4
 * http://www.e-taxonomy.eu
5
 * 
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9
package eu.etaxonomy.cdm.api.service.lsid;
10

    
11
import java.io.InputStream;
12

    
13

    
14
import com.ibm.lsid.LSIDException;
15

    
16
import eu.etaxonomy.cdm.model.common.LSID;
17
/**
18
 * A factory class which provides instances of LSIDWSDLWrapper
19
 * 
20
 * @author ben
21
 *
22
 */
23
public interface LSIDWSDLWrapperFactory {
24
	/**
25
	 * Get the authority wsdl for a given lsid
26
	 * @param LSID lsid
27
	 * @return LSIDWSDLWrapper the authority WSDL
28
	 */
29
	LSIDWSDLWrapper getLSIDWSDLWrapper(LSID lsid);
30
	/**
31
	 * Get the authority wsdl
32
	 * @param String wsdl the uri of the wsdl file
33
	 * @return LSIDWSDLWrapper the authority WSDL
34
	 */
35
	LSIDWSDLWrapper getLSIDWSDLWrapper(String wsdl) throws LSIDException;
36
	/**
37
	 * Get the authority wsdl
38
	 * @param InputStream wsdl The resource as an input stream 
39
	 * @return LSIDWSDLWrapper the authority WSDL
40
	 */
41
	LSIDWSDLWrapper getLSIDWSDLWrapper(InputStream wsdl) throws LSIDException;
42
}
(7-7/7)