public interface IProducer
ProducerFromResource
: Gets the data from a resource
ProducerFromStream
: Gets data from stream
ProducerFromString
: Gets data from string or from DOM
ProducerFromURL
: Gets data from URL
It is recommended to use ProducerFromResource
whenever possible.
Each WCM Pipeline Producer must implement this Interface.
Copyright 2004 SAP AGModifier and Type | Method and Description |
---|---|
RequestData |
getData()
This method is responsible to provide a Content object which contains the
XML DOM and/or a stream to non XML data;
|
Date |
getLastModified()
Get the last modified date of the resource if possible, otherwise it
returns null
|
String |
getPath()
Returns the path where the resource is found, or an empty string if no path
can be applied to the resource.
|
RequestData getData() throws WcmException
WcmException
- Exception raised in failure situationString getPath()
Date getLastModified()
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice