INRIA & FluxMedia

fr.fluxmedia.transmorpher.TProcessFactory
Class TProcessFactory

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.TProcessFactory.TProcessFactory

public final class TProcessFactory
extends Object


Field Summary
(package private)  Vector iGeneratorList
           
(package private) static int INFINITY
           
(package private) static int NB_READER_RISE
           
(package private) static SAXTransformerFactory saxTFactory
          the SAXTransformerFactory
(package private) static TransformerFactory tFactory
          The Transformer factory
 
Constructor Summary
TProcessFactory()
          The constructor
 
Method Summary
(package private) static void ()
          Class constructor
 void execProcess()
           
(package private) static SAXTransformerFactory getSAXTFactory()
          Return the sax factory
static TProcess newComposite(String[] pIn, String[] pOut)
          Create a new composite process
static TProcess newConnector(String pType, String[] pIn, String[] pOut)
          Build a new Connector. currently only build a basic one.
static TProcess newDispatcher(String pType, String[] pIn, String[] pOut)
          Build a new dispatcher. currently only build a basic one.
 TProcess newGenerator(String pType, String[] pOut, String pFilename)
          Create a new generator.
 TProcess newLoop(String[] pIn, String[] pOut, String pRefOn, int pCount, TProcessComposite pTemplateList)
          Create a new generator.
static TProcess newQuery(String pType, String[] pIn, String[] pOut, String pFilename)
          Build a new query. currently only build a internal one.
static TProcess newRuleSet(String[] pIn, String[] pOut, String pRefOn)
          Build an new ruleset process
static TProcess newSerializer(String pType, String[] pIn, String pFilename)
          Build a new Connector. currently only build a basic one.
static TProcess newTransformer(String pType, String[] pIn, String[] pOut, String pFilename)
          Build a new Transformer according th the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

NB_READER_RISE

static final int NB_READER_RISE

INFINITY

static final int INFINITY

iGeneratorList

Vector iGeneratorList

tFactory

static TransformerFactory tFactory
The Transformer factory

saxTFactory

static SAXTransformerFactory saxTFactory
the SAXTransformerFactory
Constructor Detail

TProcessFactory

public TProcessFactory()
                throws TransformerException,
                       TransformerConfigurationException,
                       SAXException,
                       IOException
The constructor
Method Detail

static void ()
Class constructor

getSAXTFactory

static final SAXTransformerFactory getSAXTFactory()
Return the sax factory

newGenerator

public final TProcess newGenerator(String pType,
                                   String[] pOut,
                                   String pFilename)
                            throws SAXException,
                                   IOException
Create a new generator. Currently, this generator is a TReader. In the futur, it will be suitable to create different generator according to the type. ps : may be, the paramer must be a ParserAnswer instead of String and String[]

newLoop

public final TProcess newLoop(String[] pIn,
                              String[] pOut,
                              String pRefOn,
                              int pCount,
                              TProcessComposite pTemplateList)
                       throws TransformerException,
                              TransformerConfigurationException,
                              SAXException,
                              IOException
Create a new generator. Currently, this generator is a TReader. In the futur, it will be suitable to create different generator according to the type. ps : may be, the paramer must be a ParserAnswer instead of String and String[]

newComposite

public static final TProcess newComposite(String[] pIn,
                                          String[] pOut)
                                   throws TransformerException,
                                          TransformerConfigurationException,
                                          SAXException,
                                          IOException
Create a new composite process

newDispatcher

public static final TProcess newDispatcher(String pType,
                                           String[] pIn,
                                           String[] pOut)
Build a new dispatcher. currently only build a basic one. In the next version more complex dispatcher can be developed. (With filter, ...)

newTransformer

public static final TProcess newTransformer(String pType,
                                            String[] pIn,
                                            String[] pOut,
                                            String pFilename)
                                     throws TransformerException,
                                            TransformerConfigurationException,
                                            SAXException,
                                            IOException
Build a new Transformer according th the given type. Currently only build transformer with a XSL file in parameter.

newQuery

public static final TProcess newQuery(String pType,
                                      String[] pIn,
                                      String[] pOut,
                                      String pFilename)
                               throws TransformerException,
                                      SAXException,
                                      IOException
Build a new query. currently only build a internal one. In the next version more complex query can be developp.

newRuleSet

public static final TProcess newRuleSet(String[] pIn,
                                        String[] pOut,
                                        String pRefOn)
                                 throws TransformerException,
                                        TransformerConfigurationException,
                                        SAXException,
                                        IOException
Build an new ruleset process

newConnector

public static final TProcess newConnector(String pType,
                                          String[] pIn,
                                          String[] pOut)
Build a new Connector. currently only build a basic one. In the next version more complex Connector can be developed. (With filter, ...)

newSerializer

public static final TProcess newSerializer(String pType,
                                           String[] pIn,
                                           String pFilename)
                                    throws SAXException,
                                           IOException
Build a new Connector. currently only build a basic one. In the next version more complex Connector can be developp. (With filter, ...)

execProcess

public final void execProcess()
                       throws SAXException,
                              IOException

INRIA & FluxMedia

...