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 boolean testReader
           
(package private) static boolean testSerializer
           
(package private) static TransformerFactory tFactory
          The Transformer factory
 
Constructor Summary
TProcessFactory()
          The constructor
 
Method Summary
(package private) static void ()
          Class constructor
(package private) static SAXTransformerFactory getSAXTFactory()
          Return the sax factory
static TProcess newApplyProcess(String[] pIn, String[] pOut, Parameters pParam, StringParameters staticAttributes)
           
static TProcess newApplyQuery(String[] pIn, String[] pOut, Parameters pParam, StringParameters staticAttributes)
          Build a new query. currently only build a internal one.
static TProcess newConnector(String[] pIn, String[] pOut, Parameters pParam)
          Build a new Connector. currently only build a basic one.
static TProcess newDispatcher(String[] pIn, String[] pOut, Parameters pParam)
          Build a new dispatcher. currently only build a basic one.
static TProcess newExternal(String[] pIn, String[] pOut, Parameters pParam)
          Build a new Transformer according th the given type.
 TProcess newGenerator(String[] pOut, Parameters pParam, StringParameters staticAttributes)
          Create a new generator.
 TProcess newLoop(String[] pIn, String[] pOut, String pRefOn, int pCount, TProcessComposite pTemplateList)
          Create a new loop
static TProcess newMain(String[] pIn, String[] pOut, Parameters p)
          Create a new main process
static TProcess newRuleSet(String[] pIn, String[] pOut, Parameters pParam, StringParameters staticAttributes)
          Build an new ruleset process
static TProcess newSerializer(String[] pIn, Parameters pParam, StringParameters staticAttributes)
          Build a new Connector. currently only build a basic one.
static TProcess newServlet(String[] pIn, String[] pOut, Parameters p)
          Create a new servlet (for the moment the same thing than a main
 
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

testSerializer

static boolean testSerializer

testReader

static boolean testReader

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[] pOut,
                                   Parameters pParam,
                                   StringParameters staticAttributes)
                            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 loop

newMain

public static final TProcess newMain(String[] pIn,
                                     String[] pOut,
                                     Parameters p)
                              throws TransformerException,
                                     TransformerConfigurationException,
                                     SAXException,
                                     IOException
Create a new main process

newServlet

public static final TProcess newServlet(String[] pIn,
                                        String[] pOut,
                                        Parameters p)
                                 throws TransformerException,
                                        TransformerConfigurationException,
                                        SAXException,
                                        IOException
Create a new servlet (for the moment the same thing than a main

newDispatcher

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

newExternal

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

newApplyQuery

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

newApplyProcess

public static final TProcess newApplyProcess(String[] pIn,
                                             String[] pOut,
                                             Parameters pParam,
                                             StringParameters staticAttributes)
                                      throws TransformerException,
                                             TransformerConfigurationException,
                                             SAXException,
                                             IOException

newRuleSet

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

newConnector

public static final TProcess newConnector(String[] pIn,
                                          String[] pOut,
                                          Parameters pParam)
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[] pIn,
                                           Parameters pParam,
                                           StringParameters staticAttributes)
                                    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, ...)

INRIA & FluxMedia

..no bottom yet...