SAP NetWeaver '04

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

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

See:
          Description

Interface Summary
IProducer A producer prepares input data for further processing.
 

Class Summary
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.
 

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



SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.