Class WeightProviderDescriptorImpl

java.lang.Object
org.eclipse.emf.compare.match.eobject.internal.WeightProviderDescriptorImpl
All Implemented Interfaces:
WeightProvider.Descriptor

public class WeightProviderDescriptorImpl extends Object implements WeightProvider.Descriptor
A simple implementation of WeightProvider.Descriptor that will delegate its method implementation to values given to its constructor.
  • Constructor Details

    • WeightProviderDescriptorImpl

      public WeightProviderDescriptorImpl(WeightProvider weightProvider, int r, Pattern nsURI)
      Creates the descriptor from an existing weight provider.
      Parameters:
      weightProvider - the given weight provider.
      r - the ranking of the weight provider.
      nsURI - the pattern of namespace URI on which this weight provider can be applied.
  • Method Details