org.apache.portals.applications.transform
Interface Transform

All Known Implementing Classes:
JetspeedTransform

public interface Transform

This interface is a facade for all Transformation related operations. Transformation service abstracts the XSL Transform manipulation, maintenance, caching and transformation resolution algorithms.

Version:
$Id: Transform.java 187949 2004-11-15 06:06:42Z taylor $
Author:
David Sean Taylor

Method Summary
 TransformObjectPublisher getPublisher()
          Performs a transform on an input stream, writing the transformed content to a Writer
 void transform(String xsltPath, Document document, OutputStream os, Map parameters)
           
 void transform(String xsltPath, InputSource inputSource, OutputStream os, Map properties)
          Performs a transform on an input stream, writing the transformed content to a Writer
 void transform(String xsltPath, InputSource inputSource, Writer writer, Map properties)
          Performs a transform on an input stream, writing the transformed content to a Writer
 

Method Detail

transform

public void transform(String xsltPath,
                      InputSource inputSource,
                      Writer writer,
                      Map properties)
               throws TransformException
Performs a transform on an input stream, writing the transformed content to a Writer

Parameters:
xsltPath - The path to a local XSLT file
inputSource - The input stream and description containing content to be transformed.
writer - The output stream receiving the transformed content.
properties - Map of XSLT properties passed into transformer
Throws:
TransformException

transform

public void transform(String xsltPath,
                      InputSource inputSource,
                      OutputStream os,
                      Map properties)
               throws TransformException
Performs a transform on an input stream, writing the transformed content to a Writer

Parameters:
xsltPath - The path to a local XSLT file
inputSource - The input stream and description containing content to be transformed.
properties - Map of XSLT properties passed into transformer
Throws:
TransformException

getPublisher

public TransformObjectPublisher getPublisher()
Performs a transform on an input stream, writing the transformed content to a Writer


transform

public void transform(String xsltPath,
                      Document document,
                      OutputStream os,
                      Map parameters)
               throws TransformException
Throws:
TransformException


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.