Coverage Report - org.wsmo.service.choreography.io.Serializer
 
Classes in this File Line Coverage Branch Coverage Complexity
Serializer
N/A
N/A
1
 
 1  
 /*
 2  
  wsmo4j extension - a Choreography API and Reference Implementation
 3  
 
 4  
  Copyright (c) 2005, University of Innsbruck, Austria
 5  
 
 6  
  This library is free software; you can redistribute it and/or modify it under
 7  
  the terms of the GNU Lesser General Public License as published by the Free
 8  
  Software Foundation; either version 2.1 of the License, or (at your option)
 9  
  any later version.
 10  
  This library is distributed in the hope that it will be useful, but WITHOUT
 11  
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 12  
  FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 13  
  details.
 14  
  You should have received a copy of the GNU Lesser General Public License along
 15  
  with this library; if not, write to the Free Software Foundation, Inc.,
 16  
  59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 17  
  */
 18  
 
 19  
 package org.wsmo.service.choreography.io;
 20  
 
 21  
 import org.wsmo.service.choreography.Choreography;
 22  
 
 23  
 /**
 24  
  * Serializer interface for choreography objects
 25  
  * 
 26  
  * <pre>
 27  
  *      Created on Sep 29, 2005
 28  
  *      Committed by $Author: jamsci001 $
 29  
  *      $Source$
 30  
  * </pre>
 31  
  * 
 32  
  * @author James Scicluna
 33  
  * @author Thomas Haselwanter
 34  
  * 
 35  
  * @version $Revision: 1189 $ $Date: 2005-10-18 18:23:42 +0300 (Tue, 18 Oct 2005) $
 36  
  */
 37  
 public interface Serializer {
 38  
 
 39  
     /**
 40  
      * Serializes a choreography object
 41  
      * 
 42  
      * @param choreography
 43  
      *            object to be serialized
 44  
      * @return A String object defining the serialized
 45  
      * choreography
 46  
      */
 47  
     public String serialize(Choreography choreography);
 48  
 
 49  
 }