|
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.tmcontrib.serializer.RTFSerializer
public final class RTFSerializer
This class allows transmorpher to produce pdf or ps.
To use this serializer, transmorpher has to know it.
To do this, just add the following declaration of defextern in the process file :
< defextern name="rtf" class="fr.fluxmedia.transmorpher.tmcontrib.serializer.RTFSerializer/>
A rtf serializer can now be declared in the process file :
< serialize id="outputRTF" type="rtf" in="out1" > < with-param name="file"> ../samples/fo-sample/output/${filename}.rtf < /with-param > < with-param name="format"> pdf < /with-param > < /serialize >
Available format is :
Compiling: following jar is required
Running: following jar is required
Nested Class Summary | |
---|---|
(package private) class |
RTFSerializer.DebugOutputStream
An utility class to control the outputs of the jFor converter. |
Field Summary | |
---|---|
private Converter |
handler
a handler to convert fo to rtf |
private java.io.Writer |
rtfWriter
the writer |
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 | |
---|---|
RTFSerializer(java.lang.String[] pIn,
Parameters pParam,
StringParameters pStaticAttributes)
Constructor for the RTFSerializer object |
Method Summary | |
---|---|
org.xml.sax.ContentHandler |
getContentHandler()
Gets the contentHandler attribute of the PDFSerializer object |
void |
setOutputStream()
Sets the outputStream attribute of the RTFSerializer object |
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, 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 |
---|
private java.io.Writer rtfWriter
private Converter handler
Constructor Detail |
---|
public RTFSerializer(java.lang.String[] pIn, Parameters pParam, StringParameters pStaticAttributes) throws org.xml.sax.SAXException, java.io.IOException
pIn
- in portspParam
- the parameters of this serializerpStaticAttributes
- Description of the Parameter
org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.
java.io.IOException
- Description of the ExceptionMethod Detail |
---|
public org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in class TSerializer
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 Exception
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |