Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.cst.internal
Class TreePropertyTransformer

java.lang.Object
  extended by eu.esdihumboldt.cst.internal.TreePropertyTransformer
All Implemented Interfaces:
PropertyTransformer

public class TreePropertyTransformer
extends Object
implements PropertyTransformer

Property transformer based on a TransformationTree.

Author:
Simon Templer

Constructor Summary
TreePropertyTransformer(Alignment alignment, TransformationReporter reporter, InstanceSink sink, EngineManager engines, TransformationContext context)
          Create a simple property transformer
 
Method Summary
 void join(boolean cancel)
          Join with the property transformer and wait for its completion, e.g.
 void publish(FamilyInstance source, MutableInstance target, TransformationLog typeLog)
          Publish a source/target instance pair for property transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreePropertyTransformer

public TreePropertyTransformer(Alignment alignment,
                               TransformationReporter reporter,
                               InstanceSink sink,
                               EngineManager engines,
                               TransformationContext context)
Create a simple property transformer

Parameters:
alignment - the alignment
reporter - the transformation log to report any transformation messages to
sink - the target instance sink
engines - the transformation engine manager
context - the transformation execution context
Method Detail

publish

public void publish(FamilyInstance source,
                    MutableInstance target,
                    TransformationLog typeLog)
Description copied from interface: PropertyTransformer
Publish a source/target instance pair for property transformation.

Specified by:
publish in interface PropertyTransformer
Parameters:
source - the source instances
target - the target instance
typeLog - the type transformation log
See Also:
PropertyTransformer.publish(FamilyInstance, MutableInstance, TransformationLog)

join

public void join(boolean cancel)
Description copied from interface: PropertyTransformer
Join with the property transformer and wait for its completion, e.g. if the property transformer executes tasks in worker threads.

Specified by:
join in interface PropertyTransformer
Parameters:
cancel - if still pending transformations should be canceled

Humboldt Alignment Editor 2.5.0

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