Milyn-Smooks Version 0.4

org.milyn.delivery.assemble
Interface AssemblyUnit

All Superinterfaces:
ContentDeliveryUnit, ElementVisitor
All Known Implementing Classes:
AbstractAssemblyUnit

public interface AssemblyUnit
extends ElementVisitor

Document Assembly Unit interface definition.

Implementations of this interface are applied to the content during the Assembly phase.

Multiple AssemblyUnit implementations can be applied to a single element. The order in which they are applied is determined by the CDRDef specificity. See CDRDefSortComparator.

All implementations must contain a public constructor that takes a CDRDef instance as a parameter. For this reason condsider extending AbstractAssemblyUnit for convienience (your IDE should auto-add the constructor).

Assembly Units are defined in the .cdrl file (in .cdrar file(s)) in the very same way as any other content delivery resource (Trans Units, Serialization Units, DTDs etc).

Assembly units always visit target elements after Smooks iterates over the child content of the target element. See Delivery Overview.

Author:
tfennelly

Methods inherited from interface org.milyn.delivery.ElementVisitor
visit, visitBefore
 
Methods inherited from interface org.milyn.delivery.ContentDeliveryUnit
getDetailDescription, getShortDescription
 


Milyn-Smooks Version 0.4