org.kuali.rice.ken.util
Class ContentTransformer

java.lang.Object
  extended by org.kuali.rice.ken.util.ContentTransformer

public class ContentTransformer
extends Object

This class handles XSLT transformations.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
ContentTransformer(StreamSource aStyleSheet)
          Constructs a ContentTransformer.java.
ContentTransformer(StreamSource aStyleSheet, HashMap parametermap)
          Constructs a ContentTransformer.java.
 
Method Summary
 String transform(String xml)
          This method performs the actual transformation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTransformer

public ContentTransformer(StreamSource aStyleSheet)
                   throws Exception
Constructs a ContentTransformer.java.

Parameters:
aStyleSheet -
Throws:
Exception

ContentTransformer

public ContentTransformer(StreamSource aStyleSheet,
                          HashMap parametermap)
                   throws Exception
Constructs a ContentTransformer.java.

Parameters:
aStyleSheet -
parametermap -
Throws:
Exception
Method Detail

transform

public String transform(String xml)
                 throws Exception
This method performs the actual transformation.

Parameters:
xml -
Returns:
Throws:
Exception


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.