com.sapportals.wcm.service.pipeline.producer

Class ProducerFromUrl

java.lang.Object
  extended by com.sapportals.wcm.service.pipeline.producer.AbstractProducer
      extended by com.sapportals.wcm.service.pipeline.producer.ProducerFromUrl
All Implemented Interfaces:
IProducer

public class ProducerFromUrl
extends AbstractProducer
implements IProducer

Provides access via URL.

Copyright 2004 SAP AG


Field Summary
protected  String m_url
           
 
Constructor Summary
ProducerFromUrl(String url)
           
 
Method Summary
 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()
          There is no modifaction date
 String getPath()
          Returns the path where the resource is found, or an empty string if no path can be applied to the resource.
 
Methods inherited from class com.sapportals.wcm.service.pipeline.producer.AbstractProducer
createDOM, createEmptyDom, createRequestData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_url

protected String m_url
Constructor Detail

ProducerFromUrl

public ProducerFromUrl(String url)
Parameters:
url - TBD: Description of the incoming method parameter
Method Detail

getData

public RequestData getData()
                    throws com.sapportals.wcm.WcmException
Description copied from interface: IProducer
This method is responsible to provide a Content object which contains the XML DOM and/or a stream to non XML data;

Specified by:
getData in interface IProducer
Returns:
content object
Throws:
com.sapportals.wcm.WcmException - Exception raised in failure situation

getPath

public String getPath()
Description copied from interface: IProducer
Returns the path where the resource is found, or an empty string if no path can be applied to the resource.

Specified by:
getPath in interface IProducer
Returns:
resource path or empty string

getLastModified

public Date getLastModified()
There is no modifaction date

Specified by:
getLastModified in interface IProducer
Returns:
lastModified
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM


Copyright 2011 SAP AG Complete Copyright Notice