Milyn-Smooks Version 0.4

org.milyn.delivery
Class XslContentDeliveryUnitCreator

java.lang.Object
  extended byorg.milyn.delivery.XslContentDeliveryUnitCreator
All Implemented Interfaces:
ContentDeliveryUnitCreator

public class XslContentDeliveryUnitCreator
extends java.lang.Object
implements ContentDeliveryUnitCreator

XSL TransUnit ConcreteCreator class (GoF - Factory Method).

This Content Delivery Unit creator needs to be reviewed by someone that knows more about XSL etc. Not convinced that it's implemented correctly. Works, but? Not even convinced that it makes sense! May be dumped.

This Creator is initialised by adding the following bean configuration to the deliveryunit-config.xml file:

 	<bean id="xsl" class="org.milyn.delivery.XslContentDeliveryUnitCreator" singleton="true" />

Author:
tfennelly
See Also:
JavaContentDeliveryUnitCreator

Constructor Summary
XslContentDeliveryUnitCreator()
           
 
Method Summary
 ContentDeliveryUnit create(CDRDef unitDef, CDRStore cdrarStore)
          Create an XSL based ContentDeliveryUnit instance ie from an XSL byte stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XslContentDeliveryUnitCreator

public XslContentDeliveryUnitCreator()
Method Detail

create

public ContentDeliveryUnit create(CDRDef unitDef,
                                  CDRStore cdrarStore)
                           throws java.lang.InstantiationException
Create an XSL based ContentDeliveryUnit instance ie from an XSL byte stream.

Specified by:
create in interface ContentDeliveryUnitCreator
Parameters:
unitDef - The CDRDef for the ContentDeliveryUnit.
cdrarStore - The CDRStore instance storing the specified unitDef instance.
Returns:
ContentDeliveryUnit instance.
Throws:
java.lang.InstantiationException - Unable to create ContentDeliveryUnit instance.
See Also:
JavaContentDeliveryUnitCreator

Milyn-Smooks Version 0.4