|
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.TSerializer
fr.fluxmedia.transmorpher.stdlib.WriteFile
public final class WriteFile
This class offer a serializer mechanisme. A way to finish the transphormation process by writing XML output file
Field Summary | |
---|---|
(package private) static int |
DEFAULT_BUFFER_SIZE
|
protected javax.xml.transform.sax.TransformerHandler |
handler
The handler for the transformation |
java.util.Properties |
Op
Description of the Field |
protected int |
outputBufferSize
Buffer size |
protected javax.xml.transform.sax.SAXTransformerFactory |
tfactory
a factory to create the transformer handler |
Fields inherited from class fr.fluxmedia.transmorpher.engine.TSerializer |
---|
fileName, format, outputStream, printNull, printOut |
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, iListOut, iNbIn, iNbOut, nameFather, nameIn, nameOut |
Constructor Summary | |
---|---|
WriteFile(java.lang.String[] pIn,
Parameters pParam,
StringParameters pStaticAttributes)
Constructor for the WriteFile object |
Method Summary | |
---|---|
org.xml.sax.ContentHandler |
getContentHandler()
Gets the contentHandler attribute of the WriteFile object |
protected javax.xml.transform.sax.SAXTransformerFactory |
getTransformerFactory()
Gets the transformerFactory attribute of the WriteFile object |
void |
reset()
Creates a new transformer handler at each loop in a repeat |
void |
setOutputStream()
Sets the ouput file of this serializer |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TSerializer |
---|
bindParameters, generatePort, getOutputStream, initParameters, printNull, printStdout |
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, 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 |
---|
static final int DEFAULT_BUFFER_SIZE
public java.util.Properties Op
protected javax.xml.transform.sax.TransformerHandler handler
protected int outputBufferSize
protected javax.xml.transform.sax.SAXTransformerFactory tfactory
Constructor Detail |
---|
public WriteFile(java.lang.String[] pIn, Parameters pParam, StringParameters pStaticAttributes) throws TMRuntimeException
pIn
- in ports of this objectpParam
- parameters of this objectpStaticAttributes
- static parameters of this object
TMRuntimeException
- Description of the ExceptionMethod Detail |
---|
protected javax.xml.transform.sax.SAXTransformerFactory getTransformerFactory()
public void setOutputStream() throws TMRuntimeException, TMException, org.xml.sax.SAXException
setOutputStream
in class TSerializer
TMRuntimeException
- Description of the Exception
TMException
- Description of the Exception
org.xml.sax.SAXException
- Description of the Exceptionpublic void reset() throws TMRuntimeException
reset
in interface TProcess
reset
in class TProcess_Impl
TMRuntimeException
- Description of the Exceptionpublic org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in class TSerializer
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |