INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Interface Transformation

All Known Implementing Classes:
Main, MainProcess, Process, Query, RepeatProcess, Ruleset, Servlet, TransformationImpl, Transformer

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

void generateXML()
Prints the XML expression of the Transformation


generateJavaCode

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

java.lang.String getName()
Gets the name attribute of the Transformation object

Returns:
The name value

setName

void setName(java.lang.String name)
Sets the name attribute of the Transformation object

Parameters:
name - The new name value

getType

java.lang.String getType()
Gets the type attribute of the Transformation object

Returns:
The type value

setType

void setType(java.lang.String type)
Sets the type attribute of the Transformation object

Parameters:
type - The new type value

setParameters

void setParameters(Parameters param)
Sets the parameters attribute of the Transformation object

Parameters:
param - The new parameters value

getParameters

Parameters getParameters()
Gets the parameters attribute of the Transformation object

Returns:
The parameters value

getAttributes

StringParameters getAttributes()
Gets the attributes attribute of the Transformation object

Returns:
The attributes value

getTransmorpher

Transmorpher getTransmorpher()
Gets the transmorpher attribute of the Transformation object

Returns:
The transmorpher value

inPorts

PortList inPorts()
Gets the in ports list of this Trasnformation instance

Returns:
The list of ports

outPorts

PortList outPorts()
Gets the in ports list of this Trasnformation instance

Returns:
The list of ports

retroNull

void retroNull(PortList out,
               PortList in)
Description of the Method

Parameters:
out - Description of the Parameter
in - Description of the Parameter

update

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...