|
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.writevcs
public final class writevcs
This class allows transmorpher to produce vcard of vcal files
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="vcs" class="fr.fluxmedia.transmorpher.tmcontrib.serializer.writevcs/>
A vcs serializer can now be declared in the process file :
< serialize id="outputVCS" type="vcs" in="out1" > < with-param name="file"> ../samples/output/${filename}.vcs < /with-param > < with-param name="type"> vcard < /with-param > < /serialize >
Available types are :
Compiling: following jar is required
Running: following jar is required
Field Summary | |
---|---|
protected boolean |
card
True if the file is a vCard |
protected vcsHandler |
vcs
a handler to write vcard or vcal |
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 | |
---|---|
writevcs(java.lang.String[] pIn,
Parameters pParam,
StringParameters pStaticAttributes)
Constructor for the writevcs object |
Method Summary | |
---|---|
org.xml.sax.ContentHandler |
getContentHandler()
Gets the contentHandler attribute of the writevcs object |
void |
setOutputStream()
Sets the ouput 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, 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 |
---|
protected vcsHandler vcs
protected boolean card
Constructor Detail |
---|
public writevcs(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
setOutputStream
in class TSerializer
TMRuntimeException
- Description of the Exception
TMException
- Description of the Exception
org.xml.sax.SAXException
- 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 |