|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
fr.fluxmedia.transmorpher.graph.CallImpl
fr.fluxmedia.transmorpher.graph.ApplyImpl
fr.fluxmedia.transmorpher.graph.ApplyProcess
public class ApplyProcess
This class allows to create an object able to call a transformation defined in a Process
Field Summary |
---|
Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
attributes, id, inPorts, nullified, outPorts, parameters, process, visited |
Constructor Summary | |
---|---|
ApplyProcess(java.lang.String id,
java.lang.String type)
Creates an instance of ApplyProcess with an id and a type |
|
ApplyProcess(java.lang.String id,
java.lang.String type,
Process process)
Constructor for the ApplyProcess object |
|
ApplyProcess(java.lang.String id,
java.lang.String type,
Process process,
java.lang.String reference)
Constructor for the ApplyProcess object |
|
ApplyProcess(java.lang.String id,
java.lang.String type,
Process process,
java.lang.String reference,
int in,
int out)
Constructor for the ApplyProcess object |
|
ApplyProcess(java.lang.String id,
java.lang.String type,
java.lang.String reference)
Creates an instance of ApplyProcess with an id, a type and a process |
Method Summary | |
---|---|
void |
createProcess(TProcessComposite currentProcess)
Creates a TApplyProcess corresponding to this ApplyProcess object and adds it to the composite process in the execution structure. |
void |
generateJavaCode(Writer file)
Prints a java code description of this instance WARNING :This is the main problematic aspect: There is a possible recursion in Process calls: they should thus be stacked for working correctly |
void |
generateLocalName(Writer file)
Do nothing ( to remove ?) |
void |
generateXML()
Prints an XML description of this instance |
void |
retroNull(PortList out,
PortList in)
ask a nullify call to the called process |
void |
setUp()
Description of the Method |
Methods inherited from class fr.fluxmedia.transmorpher.graph.ApplyImpl |
---|
getRef, setRef |
Methods inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
addIn, addIn, addOut, addOut, clearNull, clearVisited, generateParameters, generatePorts, getAttributes, getId, getParameters, getProcess, getType, inPorts, newProcess, outPorts, retroNull, setId, setParameters, setType, toString, update |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplyProcess(java.lang.String id, java.lang.String type)
id
- The id of the instance to createtype
- The type of the instance to createpublic ApplyProcess(java.lang.String id, java.lang.String type, java.lang.String reference)
id
- The id of the instance to createtype
- The type of the instance to createreference
- The reference of the process to applypublic ApplyProcess(java.lang.String id, java.lang.String type, Process process)
id
- The id of the instance to createtype
- The type of the instance to createprocess
- The process that owns this instancepublic ApplyProcess(java.lang.String id, java.lang.String type, Process process, java.lang.String reference)
id
- The id of the instance to createtype
- The type of the instance to createprocess
- The process that owns this instancereference
- The reference of the process to applypublic ApplyProcess(java.lang.String id, java.lang.String type, Process process, java.lang.String reference, int in, int out)
id
- The id of the instance to createtype
- The type of the instance to createprocess
- The process that owns this instancereference
- The reference of the process to applyin
- The number of in portsout
- The number of out portsMethod Detail |
---|
public void retroNull(PortList out, PortList in)
retroNull
in class ApplyImpl
out
- Description of the Parameterin
- Description of the Parameterpublic void generateXML()
generateXML
in interface Call
generateXML
in class CallImpl
public final void createProcess(TProcessComposite currentProcess)
createProcess
in interface Call
createProcess
in class CallImpl
currentProcess
- the container for this serializerpublic void setUp()
Call
setUp
in interface Call
setUp
in class CallImpl
public void generateJavaCode(Writer file) throws java.io.IOException
generateJavaCode
in interface Call
generateJavaCode
in class CallImpl
file
- The writer used for printing the code in a file
java.io.IOException
- when an IO errors occurpublic void generateLocalName(Writer file)
file
- Description of the Parameter
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |