Skip navigation links
SAP NetWeaver 7.50 SP 13 KMC

Package com.sapportals.wcm.service.pipeline.producer

Contains interfaces to prepare content for a transformation to a different layout or format.

See: Description

Package com.sapportals.wcm.service.pipeline.producer Description

Contains interfaces to prepare content for a transformation to a different layout or format.

Package Specification

Purpose
Detailed  Concept
Interfaces and Classes
Related Documentation

Purpose

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.    

Detailed Concept

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:

Interfaces and Classes

The producer package contains the IProducer interface and a number of classes that implement the interface. The classes represent different types of producers that handle different sources of content: In the KM environment, the content is normally fetched from a resource. For this reason the ProducerFromResource 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. 

Related Documentation

For an overview of the publishing pipeline and the role of the producer within the pipeline see:
 com.sapportals.wcm.service.pipeline


Skip navigation links
SAP NetWeaver 7.50 SP 13 KMC

Copyright 2018 SAP AG Complete Copyright Notice