|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. *
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 |
---|
void generateXML()
void generateJavaCode(Writer file, LinearIndexedStruct externs) throws java.io.IOException
file
- The Writer used for writing java code in a fileexterns
- List of external definition of component
java.io.IOException
- when an IO errors occurjava.lang.String getName()
void setName(java.lang.String name)
name
- The new name valuejava.lang.String getType()
void setType(java.lang.String type)
type
- The new type valuevoid setParameters(Parameters param)
param
- The new parameters valueParameters getParameters()
StringParameters getAttributes()
Transmorpher getTransmorpher()
PortList inPorts()
PortList outPorts()
void retroNull(PortList out, PortList in)
out
- Description of the Parameterin
- Description of the Parametervoid update(java.lang.Object object)
object
- Description of the Parameter
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |