org.eclipse.emf.henshin.interpreter.impl
Class InterpreterFactoryImpl

java.lang.Object
  extended by org.eclipse.emf.henshin.interpreter.impl.InterpreterFactoryImpl
All Implemented Interfaces:
InterpreterFactory

public class InterpreterFactoryImpl
extends Object
implements InterpreterFactory

Default InterpreterFactory implementation.


Field Summary
 
Fields inherited from interface org.eclipse.emf.henshin.interpreter.InterpreterFactory
INSTANCE
 
Constructor Summary
InterpreterFactoryImpl()
           
 
Method Summary
 ApplicationMonitor createApplicationMonitor()
          Create an ApplicationMonitor.
 Assignment createAssignment(Unit unit, boolean isResultAssignment)
          Create an Assignment object.
 EGraph createEGraph()
          Create a new EGraph object.
 Engine createEngine()
          Create an Engine object.
 Match createMatch(Rule rule, boolean isResultMatch)
          Create a Match.
 RuleApplication createRuleApplication(Engine engine)
          Create a new RuleApplication.
 UnitApplication createUnitApplication(Engine engine)
          Create a new UnitApplication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpreterFactoryImpl

public InterpreterFactoryImpl()
Method Detail

createEGraph

public EGraph createEGraph()
Description copied from interface: InterpreterFactory
Create a new EGraph object.

Specified by:
createEGraph in interface InterpreterFactory
Returns:
A new EGraph.

createAssignment

public Assignment createAssignment(Unit unit,
                                   boolean isResultAssignment)
Description copied from interface: InterpreterFactory
Create an Assignment object.

Specified by:
createAssignment in interface InterpreterFactory
Parameters:
unit - Target Unit.
isResultAssignment - Determines whether this is a result assignment.
Returns:
A new Assignment.

createMatch

public Match createMatch(Rule rule,
                         boolean isResultMatch)
Description copied from interface: InterpreterFactory
Create a Match.

Specified by:
createMatch in interface InterpreterFactory
isResultMatch - Determines whether this is a result match.
Returns:
A new Match.

createEngine

public Engine createEngine()
Description copied from interface: InterpreterFactory
Create an Engine object.

Specified by:
createEngine in interface InterpreterFactory
Returns:
A new Engine.

createUnitApplication

public UnitApplication createUnitApplication(Engine engine)
Description copied from interface: InterpreterFactory
Create a new UnitApplication.

Specified by:
createUnitApplication in interface InterpreterFactory
Parameters:
engine - Engine to be used.
Returns:
A new UnitApplication.

createRuleApplication

public RuleApplication createRuleApplication(Engine engine)
Description copied from interface: InterpreterFactory
Create a new RuleApplication.

Specified by:
createRuleApplication in interface InterpreterFactory
Parameters:
engine - Engine to be used.
Returns:
A new RuleApplication.

createApplicationMonitor

public ApplicationMonitor createApplicationMonitor()
Description copied from interface: InterpreterFactory
Create an ApplicationMonitor.

Specified by:
createApplicationMonitor in interface InterpreterFactory
Returns:
A new ApplicationMonitor.