Coverage Report - org.mule.transformer.AbstractMessageAwareTransformer
 
Classes in this File Line Coverage Branch Coverage Complexity
AbstractMessageAwareTransformer
0%
0/2
N/A
0
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transformer;
 8  
 
 9  
 import org.mule.api.MuleMessage;
 10  
 import org.mule.api.transformer.TransformerException;
 11  
 
 12  
 /**
 13  
  * <code>AbstractMessageAwareTransformer</code> is the superclass for pre-MULE 3.0 message transformers.  Newly
 14  
  * created message transformers should derive from AbstractMessageTransformer.
 15  
  *
 16  
  * @deprecated
 17  
  * @see AbstractMessageTransformer
 18  
  */
 19  
 @Deprecated
 20  0
 public abstract class AbstractMessageAwareTransformer extends AbstractMessageTransformer
 21  
 {
 22  
     /**
 23  
      * Transform the message.
 24  
      */
 25  
     @Override
 26  
     public Object transformMessage(MuleMessage message, String outputEncoding) throws TransformerException
 27  
     {
 28  0
         return transform(message, outputEncoding);
 29  
     }
 30  
 
 31  
     /**
 32  
      * Subclasses implement this method.
 33  
      */
 34  
     public abstract Object transform(MuleMessage message, String outputEncoding) throws TransformerException;
 35  
 
 36  
 }