Package org.smooks.api.delivery.ordering
Interface Producer
-
- All Superinterfaces:
ContentHandler
,Visitor
- All Known Implementing Classes:
DomModelCreator
,NestedSmooksVisitor
,StaticProxyInterceptor
,TerminateVisitor
public interface Producer extends Visitor
Object Producer interface. A producer is aVisitor
that "produces" a named object that is added to theExecutionContext
for use by aConsumer
of some sort. Note that aVisitor
does not qualify as a producer just because it "produces" something. It is only a producer if it produces something that is added to theExecutionContext
for use by aConsumer
. TheProducer
/Consumer
interfaces allows us to order the execution of multipleVisitor
instances, targetted at the same element selector, based on what theVisitor
produces and/or consumes.- Since:
- 1.2
- Author:
- tom.fennelly@jboss.com
- See Also:
Consumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<?>
getProducts()
Get the set of products produced by this producer instance.
-
-
-
Method Detail
-
getProducts
Set<?> getProducts()
Get the set of products produced by this producer instance.- Returns:
- The set of products produced by this producer instance.
-
-