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 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Method Summary
 TransformObjectPublisher getPublisher()
          Performs a transform on an input stream, writing the transformed content to a Writer
 void transform(java.lang.String xsltPath, org.w3c.dom.Document document, java.io.OutputStream os, java.util.Map parameters)
           
 void transform(java.lang.String xsltPath, org.xml.sax.InputSource inputSource, java.io.OutputStream os, java.util.Map properties)
          Performs a transform on an input stream, writing the transformed content to a Writer
 void transform(java.lang.String xsltPath, org.xml.sax.InputSource inputSource, java.io.Writer writer, java.util.Map properties)
          Performs a transform on an input stream, writing the transformed content to a Writer
 

Method Detail

transform

void transform(java.lang.String xsltPath,
               org.xml.sax.InputSource inputSource,
               java.io.Writer writer,
               java.util.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

void transform(java.lang.String xsltPath,
               org.xml.sax.InputSource inputSource,
               java.io.OutputStream os,
               java.util.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.
outputStream - The output stream receiving the transformed content.
properties - Map of XSLT properties passed into transformer
Throws:
TransformException

getPublisher

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

Parameters:
xsltPath - The path to a local XSLT file
document - The W3C document to be transformed.
outputStream - The output stream receiving the transformed content.
properties - Map of XSLT properties passed into transformer

transform

void transform(java.lang.String xsltPath,
               org.w3c.dom.Document document,
               java.io.OutputStream os,
               java.util.Map parameters)
               throws TransformException
Throws:
TransformException


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