com.topologi.diffx.algorithm
Class DiffXFactory

java.lang.Object
  extended bycom.topologi.diffx.algorithm.DiffXFactory

public final class DiffXFactory
extends Object

Factory for creating a Diff-X algorithm instance.

Version:
3 February 2005
Author:
Christophe Lauret

Method Summary
static DiffXAlgorithm createDiffex(String className, EventSequence sequence1, EventSequence sequence2)
          Creates a diffex instance using the specified class name and event sequences.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDiffex

public static DiffXAlgorithm createDiffex(String className,
                                          EventSequence sequence1,
                                          EventSequence sequence2)
                                   throws FactoryException
Creates a diffex instance using the specified class name and event sequences.

Parameters:
className - The class name of the diffex implementation to use.
sequence1 - The first sequence to use for the diffex constructor.
sequence2 - The second sequence to use for the diffex constructor.
Returns:
A Diff-X algorithm instance.
Throws:
FactoryException - Should an error occur when trying to instantiate the class.