INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Interface Transformation

All Known Implementing Classes:
TransformationImpl

public interface Transformation

An object that implements the Transformation interface is a component of a transmorpher graph. It can contain other compononents . Methods are provided to generate an XML or a Java code representation of the Transformation. *

Since:
jdk 1.3 / SAX 2.0
Author:
Jerome.Euzenat@inrialpes.fr

Method Summary
 void generateJavaCode(Writer file, LinearIndexedStruct externs)
          Prints the Java code for the execution of the Transformation
 void generateXML()
          Prints the XML expression of the Transformation
 StringParameters getAttributes()
          Gets the attributes attribute of the Transformation object
 java.lang.String getName()
          Gets the name attribute of the Transformation object
 Parameters getParameters()
          Gets the parameters attribute of the Transformation object
 Transmorpher getTransmorpher()
          Gets the transmorpher attribute of the Transformation object
 java.lang.String getType()
          Gets the type attribute of the Transformation object
 PortList inPorts()
          Gets the in ports list of this Trasnformation instance
 PortList outPorts()
          Gets the in ports list of this Trasnformation instance
 void retroNull(PortList out, PortList in)
          Description of the Method
 void setName(java.lang.String name)
          Sets the name attribute of the Transformation object
 void setParameters(Parameters param)
          Sets the parameters attribute of the Transformation object
 void setType(java.lang.String type)
          Sets the type attribute of the Transformation object
 void update(java.lang.Object object)
          This method is specific to FlowComposer (a GUI tool for Transmorpher)
 

Method Detail

generateXML

public void generateXML()
Prints the XML expression of the Transformation

generateJavaCode

public void generateJavaCode(Writer file,
                             LinearIndexedStruct externs)
                      throws java.io.IOException
Prints the Java code for the execution of the Transformation
Parameters:
file - The Writer used for writing java code in a file
externs - List of external definition of component
Throws:
java.io.IOException - when an IO errors occur

getName

public java.lang.String getName()
Gets the name attribute of the Transformation object
Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the Transformation object
Parameters:
name - The new name value

getType

public java.lang.String getType()
Gets the type attribute of the Transformation object
Returns:
The type value

setType

public void setType(java.lang.String type)
Sets the type attribute of the Transformation object
Parameters:
type - The new type value

setParameters

public void setParameters(Parameters param)
Sets the parameters attribute of the Transformation object
Parameters:
param - The new parameters value

getParameters

public Parameters getParameters()
Gets the parameters attribute of the Transformation object
Returns:
The parameters value

getAttributes

public StringParameters getAttributes()
Gets the attributes attribute of the Transformation object
Returns:
The attributes value

getTransmorpher

public Transmorpher getTransmorpher()
Gets the transmorpher attribute of the Transformation object
Returns:
The transmorpher value

inPorts

public PortList inPorts()
Gets the in ports list of this Trasnformation instance
Returns:
The list of ports

outPorts

public PortList outPorts()
Gets the in ports list of this Trasnformation instance
Returns:
The list of ports

retroNull

public void retroNull(PortList out,
                      PortList in)
Description of the Method
Parameters:
out - Description of the Parameter
in - Description of the Parameter

update

public void update(java.lang.Object object)
This method is specific to FlowComposer (a GUI tool for Transmorpher)
Parameters:
object - Description of the Parameter

INRIA & FluxMedia

..no bottom yet...