Milyn-Smooks Version 0.4

org.milyn.delivery.trans
Interface TransUnitPrototype

All Superinterfaces:
ContentDeliveryUnit, ElementVisitor, TransUnit

public interface TransUnitPrototype
extends TransUnit

Transformation Unit Prototype (GoF) Interface.

TransUnit implementations should be stateless objects. Statefull TransUnit implementations should be implemented through the TransUnitPrototype interface. This provides the Smooks framework with the clone method definition (cloneTransUnit()) needed to create multiple runtime instances of a statefull TransUnit.

See TransUnit, ContentDeliveryUnitCreator


Method Summary
 TransUnit cloneTransUnit()
          Clone this statefull TransUnit.
 
Methods inherited from interface org.milyn.delivery.ElementVisitor
visit, visitBefore
 
Methods inherited from interface org.milyn.delivery.ContentDeliveryUnit
getDetailDescription, getShortDescription
 

Method Detail

cloneTransUnit

public TransUnit cloneTransUnit()
Clone this statefull TransUnit.

Returns:
TransUnit clone

Milyn-Smooks Version 0.4