See: Description
Interface | Description |
---|---|
IProducer |
A producer prepares input data for further processing.
|
Class | Description |
---|---|
AbstractProducer |
Abstract base class for WCM Prodcuer.
|
ProducerFromResource |
Provides access to a resource.
|
ProducerFromStream |
Provides access to a stream.
|
ProducerFromString |
Provides access to a XML-Strings or XML-DOM (
Document ). |
ProducerFromUrl |
Provides access via URL.
|
Purpose
Detailed Concept
Interfaces and Classes
Related Documentation
The producer is one of the parts of the publishing pipeline. It prepares content for the processing steps that are carried out by the publishing pipeline to change the layout or format of resources.
When a request to process content with the publishing pipeline is issued, the pipeline controller first starts the producer. The producer prepares the content for the actual transformation process that is carried out by the pipeline. It determines the content type. Then, depending on whether the content is XML or non-XML, it performs different actions:
ProducerFromResource
prepares content originating
from a resourceProducerFromString
prepares content from a stringProducerFromURL
prepares content from a URLProducerFromResource is most commonly used. The
central method
of the IProducer
interface is getData().
It accesses the content and converts an XML to an XML DOM or a non-XML
to a stream. Copyright 2018 SAP AG Complete Copyright Notice