Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.cst.internal
Class FunctionExecutor

java.lang.Object
  extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTransformationNodeVisitor
      extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTargetToSourceVisitor
          extended by eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.CellNodeValidator
              extended by eu.esdihumboldt.cst.internal.FunctionExecutor
All Implemented Interfaces:
TransformationNodeVisitor

public class FunctionExecutor
extends CellNodeValidator

Function executor on a transformation tree.

Author:
Simon Templer

Field Summary
 
Fields inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.CellNodeValidator
reporter
 
Constructor Summary
FunctionExecutor(TransformationReporter reporter, EngineManager engines, TransformationContext context)
          Create a function executor.
 
Method Summary
protected  void executeTransformation(PropertyTransformationFactory transformation, Cell cell, com.google.common.collect.ListMultimap<String,Pair<SourceNode,Entity>> sources, com.google.common.collect.ListMultimap<String,Pair<TargetNode,Entity>> targets)
          Execute a property transformation.
protected  void processValid(Cell cell, com.google.common.collect.ListMultimap<String,Pair<SourceNode,Entity>> sources, com.google.common.collect.ListMultimap<String,Pair<TargetNode,Entity>> targets)
          Process a valid cell node.
 
Methods inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.CellNodeValidator
includeAnnotatedNodes, validate, visit
 
Methods inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTargetToSourceVisitor
isFromTargetToSource
 
Methods inherited from class eu.esdihumboldt.hale.common.align.model.transformation.tree.visitor.AbstractTransformationNodeVisitor
leave, leave, leave, leave, visit, visit, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionExecutor

public FunctionExecutor(TransformationReporter reporter,
                        EngineManager engines,
                        TransformationContext context)
Create a function executor.

Parameters:
reporter - the transformation reporter
engines - the transformation engine manager
context - the transformation execution context
Method Detail

processValid

protected void processValid(Cell cell,
                            com.google.common.collect.ListMultimap<String,Pair<SourceNode,Entity>> sources,
                            com.google.common.collect.ListMultimap<String,Pair<TargetNode,Entity>> targets)
Description copied from class: CellNodeValidator
Process a valid cell node.

Overrides:
processValid in class CellNodeValidator
Parameters:
cell - the associated cell
sources - the named source entities and nodes
targets - the named target entities and nodes
See Also:
CellNodeValidator.processValid(Cell, ListMultimap, ListMultimap)

executeTransformation

protected void executeTransformation(PropertyTransformationFactory transformation,
                                     Cell cell,
                                     com.google.common.collect.ListMultimap<String,Pair<SourceNode,Entity>> sources,
                                     com.google.common.collect.ListMultimap<String,Pair<TargetNode,Entity>> targets)
Execute a property transformation.

Parameters:
transformation - the transformation factory
cell - the alignment cell
sources - the named source entities and nodes
targets - the named target entities and nodes

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d