1 10 11 package org.mule.umo.transformer; 12 13 import org.mule.umo.lifecycle.Initialisable; 14 15 import java.io.Serializable ; 16 17 26 27 public interface UMOSimpleTransformer extends Initialisable, Serializable , Cloneable 28 { 29 33 String SERVICE_ID = "META-INF/services/org.mule.umo.transformer.UMOTransformer"; 34 35 43 Object transform(Object src) throws TransformerException; 44 45 48 void setName(String newName); 49 50 53 String getName(); 54 55 62 void setReturnClass(Class theClass); 63 64 67 Class getReturnClass(); 68 69 Object clone() throws CloneNotSupportedException ; 71 72 UMOTransformer getNextTransformer(); 73 74 void setNextTransformer(UMOTransformer nextTransformer); 75 } 76 | Popular Tags |