public class ProducerFromResource extends AbstractProducer
Provides access to a resource. Because of the RID inside the resource, it is possible to store the resource DOM in the pipeline cache. This could improve the performance.
Copyright 2004 SAP AG
Constructor and Description |
---|
ProducerFromResource(IResource resource) |
Modifier 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 if available, null otherwise
|
String |
getPath()
Returns the path where the resource is found, or an empty string if no path
can be applied to the resource.
|
createDOM, createEmptyDom, createRequestData
public ProducerFromResource(IResource resource) throws WcmException
WcmException
public RequestData getData() throws WcmException
IProducer
WcmException
- Exception raised in failure situationpublic String getPath()
IProducer
public 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