INRIA & FluxMedia

fr.fluxmedia.tmcontrib.serializer
Class SVGSerializer

java.lang.Object
  extended by fr.fluxmedia.transmorpher.engine.TProcess_Impl
      extended by fr.fluxmedia.transmorpher.engine.TProcessBasic
          extended by fr.fluxmedia.transmorpher.engine.TSerializer
              extended by fr.fluxmedia.tmcontrib.serializer.SVGSerializer
All Implemented Interfaces:
TProcess, java.lang.Runnable

public final class SVGSerializer
extends TSerializer

This class allows transmorpher to produce jpeg from svg file

Author:
triolet

Field Summary
protected  SVGHandler handler
          The handler that receives SAX events
 
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
SVGSerializer(java.lang.String[] pIn, Parameters pParam, StringParameters pStaticAttributes)
          Creates a SVGSerializer instance
 
Method Summary
 org.xml.sax.ContentHandler getContentHandler()
          Gets the contentHandler attribute of the SVGSerializer object
 void notify(org.w3c.dom.Document doc)
          This method is called when all SAX events have been received and turned into Document instance
 
Methods inherited from class fr.fluxmedia.transmorpher.engine.TSerializer
bindParameters, generatePort, getOutputStream, initParameters, printNull, printStdout, setOutputStream
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

protected SVGHandler handler
The handler that receives SAX events

Constructor Detail

SVGSerializer

public SVGSerializer(java.lang.String[] pIn,
                     Parameters pParam,
                     StringParameters pStaticAttributes)
              throws TMRuntimeException
Creates a SVGSerializer instance

Parameters:
pIn - Description of the Parameter
pParam - Description of the Parameter
pStaticAttributes - Description of the Parameter
Throws:
TMRuntimeException - Description of the Exception
Method Detail

notify

public void notify(org.w3c.dom.Document doc)
            throws org.xml.sax.SAXException
This method is called when all SAX events have been received and turned into Document instance

Parameters:
doc - Description of the Parameter
Throws:
org.xml.sax.SAXException - Description of the Exception

getContentHandler

public org.xml.sax.ContentHandler getContentHandler()
Gets the contentHandler attribute of the SVGSerializer object

Specified by:
getContentHandler in class TSerializer
Returns:
The contentHandler value

INRIA & FluxMedia

..no bottom yet...