de.interactive_instruments.ShapeChange.Transformation.Identity
Class IdentityTransform

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Transformation.Identity.IdentityTransform
All Implemented Interfaces:
Transformer

public class IdentityTransform
extends Object
implements Transformer

Used to get a GenericModel representation. This is useful when executing multiple targets and/or transformers on an input model, where model access may be expensive (e.g. if such access requires a database lookup).

Author:
Johannes Echterhoff (echterhoff interactive-instruments de)

Constructor Summary
IdentityTransform()
           
 
Method Summary
 void process(GenericModel m, Options o, TransformerConfiguration trfConfig, ShapeChangeResult r)
          Does nothing with the given model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityTransform

public IdentityTransform()
Method Detail

process

public void process(GenericModel m,
                    Options o,
                    TransformerConfiguration trfConfig,
                    ShapeChangeResult r)
             throws ShapeChangeAbortException
Does nothing with the given model. However, that model is a GenericModel, created by the TransformationManager.

Specified by:
process in interface Transformer
Parameters:
m - The model to process.
o - Options to control the process execution.
r - Logging target.
Throws:
ShapeChangeAbortException
See Also:
Transformer.process(de.interactive_instruments.ShapeChange.Model.Generic.GenericModel, de.interactive_instruments.ShapeChange.Options, de.interactive_instruments.ShapeChange.TransformerConfiguration, de.interactive_instruments.ShapeChange.ShapeChangeResult)


Copyright © 2015. All rights reserved.