|
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.Merge
public class Merge
This class allows to instanciate a call for an object able to merge multiple SAX events flows in one flow. There is two ways to create a Merge object :
<merge type="concat" id="disp" in="i1 i2 i3" out="o1"/>
Field Summary |
---|
Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
attributes, id, inPorts, nullified, outPorts, parameters, process, visited |
Constructor Summary | |
---|---|
Merge()
Creates a simple instance of a Merge |
|
Merge(java.lang.String id,
java.lang.String type)
Creates an instance of a Merge with an id and a type |
|
Merge(java.lang.String id,
java.lang.String type,
Process process)
Creates an instance of a Merge with an id ,a type and a process |
|
Merge(java.lang.String id,
java.lang.String type,
Process process,
int in)
Creates an instance of a Merge with an id ,a type , a process and a number of in. |
Method Summary | |
---|---|
void |
createProcess(TProcessComposite currentProcess)
Creates a TMerger corresponding to this Merge object and adds it to the composite process in the execution structure. |
void |
generateJavaCode(Writer file)
Prints a java code description of this instance of Merge |
void |
generateXML()
Prints an XML description of this instance of Merge |
void |
retroNull(PortList out,
PortList in)
Propagate the nullify of its sole output to all the input |
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, setUp, 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 Merge()
public Merge(java.lang.String id, java.lang.String type)
id
- The id of instance to createtype
- The type of instance to createpublic Merge(java.lang.String id, java.lang.String type, Process process)
id
- The id of instance to createtype
- The type of instance to createprocess
- The process that owns this instancepublic Merge(java.lang.String id, java.lang.String type, Process process, int in)
id
- The id of instance to createtype
- The type of instance to createprocess
- The process that owns this instancein
- The number of in portsMethod Detail |
---|
public void retroNull(PortList out, PortList in)
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 generateJavaCode(Writer file) throws java.io.IOException
generateJavaCode
in interface Call
generateJavaCode
in class CallImpl
file
- a writer used for printing the code in a file
java.io.IOException
- when an IO errors occur
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |