org.apache.portals.applications.transform.impl
Class JetspeedTransform

java.lang.Object
  extended by org.apache.portals.applications.transform.impl.JetspeedTransform
All Implemented Interfaces:
Transform

public class JetspeedTransform
extends java.lang.Object
implements Transform

TransformComponent

Version:
$Id: JetspeedTransform.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Constructor Summary
JetspeedTransform()
           
 
Method Summary
 TransformObjectPublisher getPublisher()
          Performs a transform on an input stream, writing the transformed content to a Writer
 void transform(java.lang.String xslt, org.w3c.dom.Document document, java.io.OutputStream os, java.util.Map parameters)
           
 void transform(java.lang.String xslt, org.xml.sax.InputSource inputSource, java.io.OutputStream os, java.util.Map parameters)
          Performs a transform on an input stream, writing the transformed content to a Writer
 void transform(java.lang.String xslt, org.xml.sax.InputSource inputSource, java.io.Writer writer, java.util.Map parameters)
          Performs a transform on an input stream, writing the transformed content to a Writer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JetspeedTransform

public JetspeedTransform()
Method Detail

transform

public void transform(java.lang.String xslt,
                      org.xml.sax.InputSource inputSource,
                      java.io.OutputStream os,
                      java.util.Map parameters)
               throws TransformException
Description copied from interface: Transform
Performs a transform on an input stream, writing the transformed content to a Writer

Specified by:
transform in interface Transform
Parameters:
xslt - The path to a local XSLT file
inputSource - The input stream and description containing content to be transformed.
parameters - Map of XSLT properties passed into transformer
Throws:
TransformException

transform

public void transform(java.lang.String xslt,
                      org.xml.sax.InputSource inputSource,
                      java.io.Writer writer,
                      java.util.Map parameters)
               throws TransformException
Description copied from interface: Transform
Performs a transform on an input stream, writing the transformed content to a Writer

Specified by:
transform in interface Transform
Parameters:
xslt - 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.
parameters - Map of XSLT properties passed into transformer
Throws:
TransformException

transform

public void transform(java.lang.String xslt,
                      org.w3c.dom.Document document,
                      java.io.OutputStream os,
                      java.util.Map parameters)
               throws TransformException
Specified by:
transform in interface Transform
Throws:
TransformException

getPublisher

public TransformObjectPublisher getPublisher()
Description copied from interface: Transform
Performs a transform on an input stream, writing the transformed content to a Writer

Specified by:
getPublisher in interface Transform


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