fr.fluxmedia.transmorpher.TProcessFactory
Class TProcessComposite
java.lang.Object
|
+--fr.fluxmedia.transmorpher.TProcessFactory.TProcess_Impl
|
+--fr.fluxmedia.transmorpher.TProcessFactory.TProcessComposite
- All Implemented Interfaces:
- TProcess
- Direct Known Subclasses:
- TApplyProcess, TLoop, TMain, TProcessComponent
- public abstract class TProcessComposite
- extends TProcess_Impl
Field Summary |
protected java.util.Vector |
listOfApplyProcess
the TApplyProcess' list |
protected java.util.Hashtable |
listOfChannel
the list of the TChannel of our TProcessComposite. |
protected java.util.Vector |
listOfGenerator
the list of the Generator of our transmorpher. |
protected java.util.Vector |
listOfProcessBasic
the list of the TProcessBasic (except the TApplyProcess) of
our TProcessComposite. |
protected java.util.Hashtable |
listOfProcessIn
the list of PortProcess In |
protected java.util.Hashtable |
listOfProcessOut
the list of PortProcess Out |
static int |
NB_PROCESS_RISE
The max number of process in a composite |
Constructor Summary |
TProcessComposite(java.lang.String[] pIn,
java.lang.String[] pOut,
Parameters p)
The constructor : build a Composite process with pNbIn in Port, and pNbOut Out Port |
Methods inherited from class fr.fluxmedia.transmorpher.TProcessFactory.TProcess_Impl |
getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, reset, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
NB_PROCESS_RISE
public static int NB_PROCESS_RISE
- The max number of process in a composite
listOfProcessBasic
protected java.util.Vector listOfProcessBasic
- the list of the TProcessBasic (except the TApplyProcess) of
our TProcessComposite. May contain no element.
listOfChannel
protected java.util.Hashtable listOfChannel
- the list of the TChannel of our TProcessComposite. May contain no element.
listOfGenerator
protected java.util.Vector listOfGenerator
- the list of the Generator of our transmorpher. May contain no element.
listOfProcessIn
protected java.util.Hashtable listOfProcessIn
- the list of PortProcess In
listOfProcessOut
protected java.util.Hashtable listOfProcessOut
- the list of PortProcess Out
listOfApplyProcess
protected java.util.Vector listOfApplyProcess
- the TApplyProcess' list
TProcessComposite
public TProcessComposite(java.lang.String[] pIn,
java.lang.String[] pOut,
Parameters p)
throws javax.xml.transform.TransformerException,
javax.xml.transform.TransformerConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- The constructor : build a Composite process with pNbIn in Port, and pNbOut Out Port
addChannel
public void addChannel(TChannel channel)
getChannel
public TChannel getChannel(java.lang.String name)
addGenerator
public void addGenerator(TProcess generator)
getGenerator
public java.util.Vector getGenerator()
getListOfProcessIn
public java.util.Hashtable getListOfProcessIn()
getListOfProcessOut
public java.util.Hashtable getListOfProcessOut()
addApplyProcess
public void addApplyProcess(TProcess process)
addProcess
public void addProcess(TProcess process)
getApplyProcess
public java.util.Vector getApplyProcess()
getProcessBasic
public java.util.Vector getProcessBasic()
getAllProcess
public java.util.Vector getAllProcess()
bindParameters
public final void bindParameters(Parameters p)
- Description copied from interface:
TProcess
- bind the parameters of the process to the runtime parameters
- Overrides:
bindParameters
in class TProcess_Impl
bindPorts
public final void bindPorts()
bindPorts
public void bindPorts(TProcess process)
execProcess
public final void execProcess(boolean useThread)
throws org.xml.sax.SAXException,
java.io.IOException
- Call the execution of the process
showChannel
public void showChannel()
generatePort
public void generatePort()
- Overrides:
generatePort
in class TProcess_Impl
..no bottom yet...