org.oddjob.arooa.convert.ConversionStep Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arooa Show documentation
Show all versions of arooa Show documentation
A Rip Off Of Ant - A drag and drop component framework.
/*
* (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;
}