nl.tudelft.goal.EIS2Java.translation
Interface Java2Parameter<T>

Package class diagram package Java2Parameter
Type Parameters:
T - The type of the Java object to translate.

public interface Java2Parameter<T>

Interface for translating Java objects of type T to a Parameter.

Author:
Lennard de Rijk

Method Summary
 eis.iilang.Parameter[] translate(T o)
          Translates the object into an array of Parameter.
 Class<? extends T> translatesFrom()
           
 

Method Detail

translate

eis.iilang.Parameter[] translate(T o)
                                 throws TranslationException
Translates the object into an array of Parameter.

Parameters:
o - The object to translate.
Returns:
The array of Parameter that represents a translated object.
Throws:
TranslationException - if the translation can not be made.

translatesFrom

Class<? extends T> translatesFrom()
Returns:
The class that is being translated.


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.