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  File href
          The filename of the Transmorpher sheet
(package private)  ExecutionStructure 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
protected  Process 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
protected  String version
          The Transmorpher version to be used
 
Constructor Summary
Transmorpher(int d)
           
Transmorpher(String n, String v, int d, boolean o)
           
 
Method Summary
 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()
           
 File getFile()
           
 LinkedList getImports()
           
 LinkedList getIncludes()
           
 Process getMain()
           
 String getName()
           
 Transformation getTransformation(String name)
           
 String getVersion()
           
 boolean optimizedP()
           
 void removeTransformation(Transformation trans)
           
 void retroNull()
           
 void setFile(File u)
           
 void setMain(Process 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

version

protected String version
The Transmorpher version to be used

main

protected Process main
The main process of the Transmorpher sheet

transformations

protected LinearIndexedStruct transformations
the list of Processes

iExecutionStructure

ExecutionStructure iExecutionStructure

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

debug

int debug

opt

boolean opt
Constructor Detail

Transmorpher

public Transmorpher(int d)

Transmorpher

public Transmorpher(String n,
                    String v,
                    int d,
                    boolean o)
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 Process getMain()

getTransformation

public final Transformation getTransformation(String name)

addTransformation

public final void addTransformation(String name,
                                    Transformation t)

removeTransformation

public final void removeTransformation(Transformation trans)

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(Process 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...