Class OperationResolver

java.lang.Object
ch.galinet.xml.xmlmerge.factory.OperationResolver

public class OperationResolver extends Object
Creates an operation instance given a short name (alias) or a class name.
Author:
Laurent Bovet (LBO), Alex Mathey (AMA)
  • Constructor Details

    • OperationResolver

      public OperationResolver(Class class1)
      Creates an OperationResolver given the class representing an operation.
      Parameters:
      class1 - The class of an operation
  • Method Details

    • resolve

      public Operation resolve(String aliasOrClassName) throws ConfigurationException
      Resolves an alias or an operation class name to an operation.
      Parameters:
      aliasOrClassName - an alias or class name representing an operation
      Returns:
      The resolved operation
      Throws:
      ConfigurationException - If an error occurred during the resolving process