//
// ConversionAdaptor.java
// 
//
// Created by Tom Pelaia on 12/27/11
// Copyright 2011 Oak Ridge National Lab. All rights reserved.
//

package xal.tools.coding;

import java.util.List;


/** Declares methods a coder should implement. */
public interface Coder {
	/** Encode an object */
    public String encode( final Object value );
    
    
	/** Decode the archive */
    public Object decode( final String archive );
    
    
    /** Register the custom type by class and its associated adaptor  */
    public <CustomType,RepresentationType> void registerType( final Class<CustomType> type, final ConversionAdaptor<CustomType,RepresentationType> adaptor );
    
    
    /** Get a list of all types which are supported for coding and decoding */
    public List<String> getSupportedTypes();
}

@@ -1,30 +1,18 @@
 //%0A// Co
-nversionAdapto
+de
 r.java%0A/
@@ -50,15 +50,14 @@
 on 1
-2/27/11
+/12/12
 %0A// 
@@ -69,17 +69,17 @@
 ight 201
-1
+2
  Oak Rid

Fix the header comment to correct the file name and date.