public class ModelDependencyProviderRegistry extends Object
| Constructor and Description | 
|---|
| ModelDependencyProviderRegistry()Constructs and initialized this registry. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProvider(String className,
           DependencyProviderDescriptor descriptor)Adds the given  DependencyProviderDescriptorto this registry, using the givenclassNameas the identifier. | 
| void | clear()Clears out all registered providers from this registry. | 
| Set<URI> | getDependencies(URI uri,
               URIConverter uriConverter)Returns the set of all  URIsthat are determined as a dependency by the registered
 dependency providers. | 
| DependencyProviderDescriptor | removeProvider(String className)Removes the  DependencyProviderDescriptorand its managedIDependencyProvideridentified
 by the givenclassNamefrom this registry. | 
public ModelDependencyProviderRegistry()
public Set<URI> getDependencies(URI uri, URIConverter uriConverter)
URIs that are determined as a dependency by the registered
 dependency providers. If multiple providers declare dependencies the results are combined.uri - The URI for which the dependencies are to be determined.uriConverter - The URIConverter to be used.uri. If uri has no dependency, the returned set is
         empty.public void addProvider(String className, DependencyProviderDescriptor descriptor)
DependencyProviderDescriptor to this registry, using the given className
 as the identifier.className - The identifier for the given DependencyProviderDescriptor.descriptor - The DependencyProviderDescriptor which is to be added to this registry.public DependencyProviderDescriptor removeProvider(String className)
DependencyProviderDescriptor and its managed IDependencyProvider identified
 by the given className from this registry.className - Identifier of the provider we are to remove from this registry.DependencyProviderDescriptor, if any.public void clear()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.