|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IXsltPipelineService
The XSLT-Pipeline is a specialized version of the pipeline.
XSLT-Pipeline is used to transform XML into another form via XSL. The code sample creates a XSLT pipeline and transforms a XML resource:
IResource xml = ...
IResource xsl = ...
IXsltPipelineService xsltpl;
xsltpl = (IXsltPipelineService) ResourceFactory.getInstance().getServiceFactory().
getService("xsltpipeline");
IContent content = xsltpl.handle(ProducerFromResource(xml),
ProducerFromResource(xsl),
null)
Copyright (c) SAP Portals Europe GmbH 2001
| Field Summary | |
|---|---|
static String |
XSLTPIPELINE_SERVICE
|
| Method Summary | |
|---|---|
String |
getFormat()
WARNING: Deprecated Method (This version is error prone) !!! |
IContent |
handle(InputStream xml,
InputStream xsl,
Hashtable properties)
This method calls the XSLT processor. |
IContent |
handle(InputStream xml,
InputStream xsl,
Hashtable properties,
String mime)
This method calls the XSLT processor. |
IContent |
handle(IProducer xml,
IProducer xsl,
Hashtable properties)
This method calls the XSLT processor. |
IContent |
handle(IProducer xml,
IProducer xsl,
Hashtable properties,
String mime)
This method calls the XSLT processor. |
IContent |
handle(IProducer xml,
String xslUrl,
Hashtable properties)
This method calls the XSLT processor. |
IContent |
handle(IProducer xml,
String xslUrl,
Hashtable properties,
String mime)
This method calls the XSLT processor. |
IContent |
handle(String xmlUrl,
String xslUrl,
Hashtable properties)
This method calls the XSLT processor. |
IContent |
handle(String xmlUrl,
String xslUrl,
Hashtable properties,
String mime)
This method calls the XSLT processor. |
void |
setFormat(String mime)
WARNING: Deprecated Method (This version is error prone) !!! |
| Methods inherited from interface com.sapportals.wcm.service.IService |
|---|
getDescription, getDescription, getID |
| Field Detail |
|---|
static final String XSLTPIPELINE_SERVICE
| Method Detail |
|---|
void setFormat(String mime)
mime - Mime type e.g. "text/html".String getFormat()
IContent handle(IProducer xml,
IProducer xsl,
Hashtable properties)
throws WcmException
ProducerFromResource for the XSL source.
xsl - XSL Source. If NULL the XSL stylesheet must be
defined in the XML.properties - Properties to pass to processor and formatter. If null
then no parameters are passed. See IPipelineService.handle(IProducer, IProcessor, Hashtable)xml - TBD: Description of the incoming method parameter
WcmException - Exception raised in failure situation
IContent handle(IProducer xml,
IProducer xsl,
Hashtable properties,
String mime)
throws WcmException
ProducerFromResource for the XSL source.
xml - XML Source. See also IPipelineService.handle(IProducer, IProcessor, Hashtable)xsl - XSL Source. If NULL the XSL stylesheet must be
defined in the XML.properties - Properties to pass to processor and formatter. If null
then no parameters are passed. See IPipelineService.handle(IProducer, IProcessor, Hashtable)mime - Mime type for formatter. If mime=null then
"text/html" is used
WcmException - Exception raised in failure situation
IContent handle(InputStream xml,
InputStream xsl,
Hashtable properties)
throws WcmException
Iproducer interface instead.
xml - Inputstream to the XML.xsl - Inputstream to the XSL. If NULL the XSL stylesheet
must be defined in the XML.properties - Properties to pass to processor and formatter. If null
then no parameters are passed. See IPipelineService.handle(IProducer, IProcessor, Hashtable)
WcmException - Exception raised in failure situation
IContent handle(InputStream xml,
InputStream xsl,
Hashtable properties,
String mime)
throws WcmException
Iproducer interface instead.
xml - Inputstream of XML.xsl - Inputstream of XSL. If NULL the XSL stylesheet must
be defined in the XML.properties - Properties to pass to processor and formatter. If null
then no parameters are passed. See IPipelineService.handle(IProducer, IProcessor, Hashtable)mime - Mime type for formatter. If mime=null then
"text/html" is used
WcmException - Exception raised in failure situation
IContent handle(IProducer xml,
String xslUrl,
Hashtable properties)
throws WcmException
xml - XML sourcexslUrl - XSL sourceproperties - Properties to pass to processor and formatter. If null
then no parameters are passed. See IPipelineService.handle(IProducer, IProcessor, Hashtable)
WcmException - Exception raised in failure situation
IContent handle(IProducer xml,
String xslUrl,
Hashtable properties,
String mime)
throws WcmException
xml - XML sourcexslUrl - XSL sourceproperties - Properties to pass to processor and formatter. If null
then no parameters are passed. See IPipelineService.handle(IProducer, IProcessor, Hashtable)mime - Mime type for formatter. If mime=null then
"text/html" is used
WcmException - Exception raised in failure situation
IContent handle(String xmlUrl,
String xslUrl,
Hashtable properties)
throws WcmException
xmlUrl - XML sourcexslUrl - XSL sourceproperties - (optional) Properties are passed to the XSLT processor.
WcmException - Exception raised in failure situation
IContent handle(String xmlUrl,
String xslUrl,
Hashtable properties,
String mime)
throws WcmException
xmlUrl - XML sourcexslUrl - XSL sourceproperties - (optional) Properties are passed to the XSLT processor.mime - Mime type for formatter. If mime=null then "text/html" is used
WcmException - Exception raised in failure situation| 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
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||