bugfix for DescriptionDaoImpl.getDescriptionElementForTaxon (missing implementation...
[cdmlib.git] / cdmlib-services / src / main / java / eu / etaxonomy / cdm / api / service / lsid / LSIDWSDLWrapperFactory.java
1 // $Id$
2 /**
3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10 package eu.etaxonomy.cdm.api.service.lsid;
11
12 import java.io.InputStream;
13
14
15 import com.ibm.lsid.LSIDException;
16
17 import eu.etaxonomy.cdm.model.common.LSID;
18 /**
19 * A factory class which provides instances of LSIDWSDLWrapper
20 *
21 * @author ben
22 *
23 */
24 public interface LSIDWSDLWrapperFactory {
25 /**
26 * Get the authority wsdl for a given lsid
27 * @param LSID lsid
28 * @return LSIDWSDLWrapper the authority WSDL
29 */
30 LSIDWSDLWrapper getLSIDWSDLWrapper(LSID lsid);
31 /**
32 * Get the authority wsdl
33 * @param String wsdl the uri of the wsdl file
34 * @return LSIDWSDLWrapper the authority WSDL
35 */
36 LSIDWSDLWrapper getLSIDWSDLWrapper(String wsdl) throws LSIDException;
37 /**
38 * Get the authority wsdl
39 * @param InputStream wsdl The resource as an input stream
40 * @return LSIDWSDLWrapper the authority WSDL
41 */
42 LSIDWSDLWrapper getLSIDWSDLWrapper(InputStream wsdl) throws LSIDException;
43 }