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)

Nested Class Summary
private static class ContentTransformer.LoggingErrorListener
           
 
Field Summary
private static org.apache.log4j.Logger LOG
           
private  Transformer transformer
           
 
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
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG

transformer

private Transformer transformer
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 © 2004-2011 The Kuali Foundation. All Rights Reserved.