fr.fluxmedia.transmorpher.Graph
Class Transmorpher
java.lang.Object
|
+--fr.fluxmedia.transmorpher.Graph.Transmorpher
- public class Transmorpher
- extends Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
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
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)
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
..no bottom yet...