org.ikasan.framework.component.transformation
Class SimpleXslTransformer

java.lang.Object
  extended by org.ikasan.framework.component.transformation.SimpleXslTransformer
All Implemented Interfaces:
Transformer, FlowComponent

public class SimpleXslTransformer
extends Object
implements Transformer

Simple Xsl Transformer implementation that only supports compiled (static) stylesheets

Author:
Ikasan Development Team

Constructor Summary
SimpleXslTransformer(TransformerFactory transformerFactory, StreamSource streamSource)
          Constructor
SimpleXslTransformer(TransformerFactory transformerFactory, String classpathXslResource)
          Constructor
 
Method Summary
 void onEvent(Event event)
          Transforms or otherwise changes the passed in Event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleXslTransformer

public SimpleXslTransformer(TransformerFactory transformerFactory,
                            String classpathXslResource)
                     throws TransformerConfigurationException
Constructor

Parameters:
transformerFactory -
classpathXslResource -
Throws:
TransformerConfigurationException

SimpleXslTransformer

public SimpleXslTransformer(TransformerFactory transformerFactory,
                            StreamSource streamSource)
                     throws TransformerConfigurationException
Constructor

Parameters:
transformerFactory -
streamSource -
Throws:
TransformerConfigurationException
Method Detail

onEvent

public void onEvent(Event event)
             throws TransformationException
Description copied from interface: Transformer
Transforms or otherwise changes the passed in Event

Specified by:
onEvent in interface Transformer
Parameters:
event - Event to transform
Throws:
TransformationException - Exception if we could not transform


Copyright © 2007-2012 Ikasan. All Rights Reserved.