|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.fluxmedia.transmorpher.engine.TProcess_Impl
fr.fluxmedia.transmorpher.engine.TProcessBasic
fr.fluxmedia.transmorpher.engine.TMerger
public abstract class TMerger
This class based on the TProcessBasic allow to define a Connector. A connector is a N -> 1 element. It 's allow to merge a set of ContentHandler flow
Field Summary | |
---|---|
(package private) BufferingHandler[] |
handlerList
The list of SAX handlers |
int |
iCurrentHandler
The number of the current handler |
(package private) org.xml.sax.ContentHandler |
managingHandler
The controller handler |
(package private) org.xml.sax.ContentHandler |
outputHandler
The output handler |
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic |
---|
finished, isThread, param, procThread, type |
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl |
---|
debug, id, iListIn, iListOfParameters, iListOut, iName, iNbIn, iNbOut, nameFather, nameIn, nameOut |
Constructor Summary | |
---|---|
TMerger(java.lang.String[] pIn,
java.lang.String[] pOut,
Parameters pParam,
org.xml.sax.ContentHandler hdl)
Constructor for the TMerger object |
Method Summary | |
---|---|
void |
generatePort()
Generates ports for this component. |
org.xml.sax.ContentHandler |
getContentHandler()
Allow to get the content handler for in port |
BufferingHandler |
getHandler(int p)
return a handler |
org.xml.sax.ContentHandler |
getManagingHandler()
Allow to get the content handler for in port |
void |
isFinished()
when a BufferingHandler is finished, we execute the stack of the next handler, and set it active |
void |
reset()
|
void |
setContentHandler(org.xml.sax.ContentHandler pContentHandler)
Allow to set the content handler on Mixer for out port |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic |
---|
execProcess, getFinished, getType, initParameters, run, setFinished, setThread, setType |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl |
---|
bindParameters, getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, setDebug, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
BufferingHandler[] handlerList
public int iCurrentHandler
org.xml.sax.ContentHandler outputHandler
org.xml.sax.ContentHandler managingHandler
Constructor Detail |
---|
public TMerger(java.lang.String[] pIn, java.lang.String[] pOut, Parameters pParam, org.xml.sax.ContentHandler hdl)
pIn
- in port namespOut
- out port namespParam
- Description of the Parameterhdl
- handler which have to manage the mergerMethod Detail |
---|
public void setContentHandler(org.xml.sax.ContentHandler pContentHandler)
pContentHandler
- The new contentHandler valuepublic void reset()
reset
in interface TProcess
reset
in class TProcess_Impl
public org.xml.sax.ContentHandler getContentHandler()
public org.xml.sax.ContentHandler getManagingHandler()
public final BufferingHandler getHandler(int p)
p
- index of handler in handler list
public final void isFinished() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- Encapsulate a general SAX error or warning.public void generatePort()
generatePort
in interface TProcess
generatePort
in class TProcess_Impl
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |