net.sf.xbus.sample
Class JavaTransformerSample

java.lang.Object
  extended by net.sf.xbus.sample.JavaTransformerSample

public class JavaTransformerSample
extends java.lang.Object

This example of a class called by the JavaTransformer reverses a string.


Constructor Summary
JavaTransformerSample()
           
 
Method Summary
 java.lang.Object reverse(java.lang.Object inObject)
          Reverses the given string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaTransformerSample

public JavaTransformerSample()
Method Detail

reverse

public java.lang.Object reverse(java.lang.Object inObject)
Reverses the given string

Parameters:
inObject - must be of type String
Returns:
the reversed string
Throws:
XException - if something goes wrong