|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.fluxmedia.transmorpher.engine.TProcess_Impl | +--fr.fluxmedia.transmorpher.engine.TProcessBasic | +--fr.fluxmedia.transmorpher.engine.TSerializer
This class offer a serializer mechanisme. A way to finish the transphormation process bye writing XML output file
Field Summary | |
java.lang.String |
fileName
the name of the file to write |
java.lang.String |
format
the format of the file |
protected java.io.OutputStream |
outputStream
the output stream to write |
boolean |
printNull
Description of the Field |
boolean |
printOut
Description of the Field |
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 | |
TSerializer(java.lang.String[] pIn,
Parameters pParam,
StringParameters pStaticAttributes)
Constructor for the TSerializer object |
Method Summary | |
void |
bindParameters(Parameters p)
Binds parameters of this object |
void |
generatePort()
Creates port of this component with the the corresponding handler. |
abstract org.xml.sax.ContentHandler |
getContentHandler()
Gets the contentHandler attribute of the TSerializer object |
java.io.OutputStream |
getOutputStream()
Gets the outputStream attribute of the TSerializer object |
void |
initParameters()
|
void |
printNull(boolean printNull)
Sets printNull flag to true or false |
void |
printStdout(boolean printOut)
Sets printOut flag to true or false |
void |
setOutputStream()
Sets the outputStream attribute of the TSerializer object |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic |
execProcess, getFinished, getType, run, setFinished, setThread, setType |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl |
getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, reset, setDebug, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters |
Methods inherited from class java.lang.Object |
|
Field Detail |
public boolean printOut
public boolean printNull
public java.lang.String fileName
public java.lang.String format
protected java.io.OutputStream outputStream
Constructor Detail |
public TSerializer(java.lang.String[] pIn, Parameters pParam, StringParameters pStaticAttributes)
pIn
- in portspParam
- the parameters of this componentpStaticAttributes
- static attributes of this componentMethod Detail |
public void setOutputStream() throws TMRuntimeException, TMException, org.xml.sax.SAXException
TMRuntimeException
- Description of the ExceptionTMException
- Description of the Exceptionorg.xml.sax.SAXException
- Description of the Exceptionpublic void bindParameters(Parameters p) throws TMRuntimeException, TMException, org.xml.sax.SAXException
bindParameters
in class TProcess_Impl
p
- parameters to bindTMRuntimeException
- Description of the ExceptionTMException
- Description of the Exceptionorg.xml.sax.SAXException
- Description of the Exceptionpublic abstract org.xml.sax.ContentHandler getContentHandler()
public java.io.OutputStream getOutputStream()
public void generatePort()
generatePort
in class TProcess_Impl
public void printStdout(boolean printOut)
printOut
- true or falsepublic void printNull(boolean printNull)
printNull
- true or falsepublic void initParameters()
initParameters
in class TProcessBasic
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |