INRIA & FluxMedia

fr.fluxmedia.transmorpher.Graph
Class Transmorpher

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.Graph.Transmorpher

public class Transmorpher
extends Object


Field Summary
(package private)  int debug
           
protected  LinearIndexedStruct defexterns
          the list of declared names of components
protected  File href
          The filename of the Transmorpher sheet
(package private)  TProcessComposite iExecutionStructure
           
protected  LinkedList imports
          the list of imports this could be a list of urls OR of Transmorpher if the import has been parsed.
protected  LinkedList includes
          the list of includes
(package private)  TProcessFactory iProcessFactory
           
protected  MainProcess main
          The main process of the Transmorpher sheet
protected  String name
          The name of the Transmorpher sheet
(package private)  boolean opt
           
protected  LinearIndexedStruct transformations
          the list of Processes
(package private)  String version
          the version to be used
 
Constructor Summary
Transmorpher(int d)
           
Transmorpher(String n, String v, int d, boolean o)
           
Transmorpher(String n, String v, int d, boolean o, Transmorpher t)
           
 
Method Summary
 void addExtern(String name, String cl, String impl, boolean def)
           
 void addImport(String i)
           
 void addInclude(String i)
           
 void addTransformation(String name, Transformation t)
           
 void exec(Parameters p)
           
 void generateExec(String reloc)
          Generates Java code for the transformation
 void generateJavaCode(String reloc)
           
 void generateXML()
           
 LinearIndexedStruct getDefexterns()
           
 String getExtern(String name)
           
 File getFile()
           
 LinkedList getImports()
           
 LinkedList getIncludes()
           
 MainProcess getMain()
           
 String getName()
           
 Transformation getTransformation(String name)
           
 String getVersion()
           
 boolean optimizedP()
           
 void removeExtern(String name)
           
 void removeTransformation(Transformation trans)
           
 void retroNull()
           
 void setFile(File u)
           
 void setMain(MainProcess p)
           
 void setName(String n)
           
 void setOptimized(boolean b)
           
 void setVersion(String v)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

name

protected String name
The name of the Transmorpher sheet

href

protected File href
The filename of the Transmorpher sheet

main

protected MainProcess main
The main process of the Transmorpher sheet

transformations

protected LinearIndexedStruct transformations
the list of Processes

version

String version
the version to be used

iExecutionStructure

TProcessComposite iExecutionStructure

iProcessFactory

TProcessFactory iProcessFactory

imports

protected LinkedList imports
the list of imports this could be a list of urls OR of Transmorpher if the import has been parsed. In such a case the URL can be found in its href attribute

includes

protected LinkedList includes
the list of includes

defexterns

protected LinearIndexedStruct defexterns
the list of declared names of components

debug

int debug

opt

boolean opt
Constructor Detail

Transmorpher

public Transmorpher(int d)

Transmorpher

public Transmorpher(String n,
                    String v,
                    int d,
                    boolean o)

Transmorpher

public Transmorpher(String n,
                    String v,
                    int d,
                    boolean o,
                    Transmorpher t)
Method Detail

getName

public final String getName()

setName

public final void setName(String n)

getFile

public final File getFile()

setFile

public final void setFile(File u)

getVersion

public final String getVersion()

setVersion

public final void setVersion(String v)

optimizedP

public final boolean optimizedP()

setOptimized

public final void setOptimized(boolean b)

getMain

public final MainProcess getMain()

getTransformation

public final Transformation getTransformation(String name)

addTransformation

public final void addTransformation(String name,
                                    Transformation t)

removeTransformation

public final void removeTransformation(Transformation trans)

getExtern

public final String getExtern(String name)

addExtern

public final void addExtern(String name,
                            String cl,
                            String impl,
                            boolean def)

removeExtern

public final void removeExtern(String name)

getDefexterns

public final LinearIndexedStruct getDefexterns()

addImport

public final void addImport(String i)

getImports

public final LinkedList getImports()

addInclude

public final void addInclude(String i)

getIncludes

public final LinkedList getIncludes()

setMain

public final void setMain(MainProcess p)

retroNull

public final void retroNull()

generateXML

public final void generateXML()

generateExec

public final void generateExec(String reloc)
                        throws TransformerException,
                               TransformerConfigurationException,
                               SAXException,
                               IOException
Generates Java code for the transformation

generateJavaCode

public final void generateJavaCode(String reloc)

exec

public final void exec(Parameters p)
                throws Exception

INRIA & FluxMedia

..no bottom yet...