INRIA & FluxMedia

fr.fluxmedia.transmorpher.stdlib
Class writefile

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.TProcessFactory.TProcess_Impl
        |
        +--fr.fluxmedia.transmorpher.TProcessFactory.TProcessBasic
              |
              +--fr.fluxmedia.transmorpher.TProcessFactory.TSerializer
                    |
                    +--fr.fluxmedia.transmorpher.stdlib.writefile
All Implemented Interfaces:
TProcess

public final class writefile
extends TSerializer

This class offer a serializer mechanisme. A way to finish the transphormation process by writing XML output file

Since:
jdk 1.3 && SAX 2.0
Author:
laurent tardif@inrialpes.fr

Field Summary
(package private) static int DEFAULT_BUFFER_SIZE
           
(package private)  javax.xml.transform.sax.TransformerHandler handler
           
(package private)  int outputBufferSize
           
(package private)  javax.xml.transform.sax.SAXTransformerFactory tfactory
           
 
Fields inherited from class fr.fluxmedia.transmorpher.TProcessFactory.TSerializer
fileName, Op, param
 
Fields inherited from class fr.fluxmedia.transmorpher.TProcessFactory.TProcessBasic
type
 
Fields inherited from class fr.fluxmedia.transmorpher.TProcessFactory.TProcess_Impl
id, iListIn, iListOfParameters, iListOut, iName, iNbIn, iNbOut, nameFather, nameIn, nameOut
 
Constructor Summary
writefile(java.lang.String[] pIn, Parameters pParam, StringParameters pStaticAttributes)
          Constructor for the writefile object
 
Method Summary
 void generatePort()
          Generates ports for this component
protected  javax.xml.transform.sax.SAXTransformerFactory getTransformerFactory()
           
 void reset()
           
 void setOutputStream()
          Sets the ouput file of this serializer path is needed when this serializer is used inside a loop.
 
Methods inherited from class fr.fluxmedia.transmorpher.TProcessFactory.TSerializer
bindParameters, generatePort
 
Methods inherited from class fr.fluxmedia.transmorpher.TProcessFactory.TProcessBasic
getType, setType
 
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, 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
 

Field Detail

handler

javax.xml.transform.sax.TransformerHandler handler

DEFAULT_BUFFER_SIZE

static final int DEFAULT_BUFFER_SIZE

outputBufferSize

int outputBufferSize

tfactory

javax.xml.transform.sax.SAXTransformerFactory tfactory
Constructor Detail

writefile

public writefile(java.lang.String[] pIn,
                 Parameters pParam,
                 StringParameters pStaticAttributes)
          throws org.xml.sax.SAXException,
                 java.io.IOException
Constructor for the writefile object
Parameters:
pIn - in ports of this object
pParam - Description of the Parameter
pStaticAttributes - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception
java.io.IOException - Description of the Exception
Method Detail

getTransformerFactory

protected javax.xml.transform.sax.SAXTransformerFactory getTransformerFactory()

setOutputStream

public void setOutputStream()
Sets the ouput file of this serializer path is needed when this serializer is used inside a loop.
Overrides:
setOutputStream in class TSerializer
Parameters:
name - The file name to write in

reset

public void reset()
Overrides:
reset in class TProcess_Impl

generatePort

public void generatePort()
Generates ports for this component
Overrides:
generatePort in class TProcess_Impl

INRIA & FluxMedia

..no bottom yet...