All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oddjob.arooa.convert.ConversionStep Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
/*
 * (c) Rob Gordon 2006
 */
package org.oddjob.arooa.convert;

/**
 * A ConversionStep is one step in a {@link ConversionPath}.
 * 
 * @author Rob Gordon.
 *
 */
public interface ConversionStep {
	
	/**
	 * Get the class the ConversionStep is from.
	 * 
	 * @return The class. Never null.
	 */
	public Class getFromClass();

	/**
	 * Get the class the ConversionStep is to.
	 * 
	 * @return The class. Never null.
	 */
	public Class getToClass();
	
	public T convert(F from, ArooaConverter converter)
	throws ArooaConversionException;
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy