org.netbeans.modules.bpel.model.xam.spi
Interface ExternalModelRetriever

All Known Implementing Classes:
ExternalModelRetrieverImpl

public interface ExternalModelRetriever

Author:
ads This interface will be implemented by services that search avaliable models. This is designed as service for possibility to write unit tests. One can implement this interface and this implementation will search models in location that needs for unit tests.

Method Summary
 java.util.Collection<org.netbeans.modules.xml.schema.model.SchemaModel> getSchemaModels(BpelModel model, java.lang.String namespace)
          Accessor to list of availible Schema models.
 java.util.Collection<WSDLModel> getWSDLModels(BpelModel model, java.lang.String namespace)
          Accessor to list of availible WSDL models.
 

Method Detail

getWSDLModels

java.util.Collection<WSDLModel> getWSDLModels(BpelModel model,
                                              java.lang.String namespace)
Accessor to list of availible WSDL models.

Parameters:
model - Bpel model for which WSDL models will be searched.
namespace - Namespace of searched WSDL model.
Returns:
Collection of found WSDL models.

getSchemaModels

java.util.Collection<org.netbeans.modules.xml.schema.model.SchemaModel> getSchemaModels(BpelModel model,
                                                                                        java.lang.String namespace)
Accessor to list of availible Schema models.

Parameters:
model - Bpel model for which Schema models will be searched.
namespace - Namespace of searched Schema model.
Returns:
Collection of found Schema models.