fr.fluxmedia.transmorpher.graph
Class Servlet
java.lang.Object
|
+--java.util.Observable
|
+--fr.fluxmedia.transmorpher.graph.TransformationImpl
|
+--fr.fluxmedia.transmorpher.graph.Process
|
+--fr.fluxmedia.transmorpher.graph.MainProcess
|
+--fr.fluxmedia.transmorpher.graph.Servlet
- All Implemented Interfaces:
- Transformation
- public class Servlet
- extends MainProcess
Transmorpher graph servlet definitions
- Since:
- jdk 1.3 / SAX 2.0
- Author:
- Jerome.Euzenat@inrialpes.fr
Fields inherited from class java.util.Observable |
changed, obs |
Constructor Summary |
Servlet(java.lang.String name,
Transmorpher owner)
Constructor for the Servlet object |
Methods inherited from class fr.fluxmedia.transmorpher.graph.Process |
addCall, addChannel, clearNull, clearVisited, deleteCallsTo, getAllChannels, getCall, getCalls, getChannel, getChannels, removeCall, removeCallAndPorts, removeChannel, removeChannelAndPorts, retroNull, retroNull, setUp, XMLName |
Methods inherited from class fr.fluxmedia.transmorpher.graph.TransformationImpl |
addIn, addIn, addOut, addOut, getAttributes, getName, getParameters, getTransmorpher, getType, inPorts, outPorts, setName, setParameters, setType, update |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
Servlet
public Servlet(java.lang.String name,
Transmorpher owner)
- Constructor for the Servlet object
- Parameters:
name
- The name of the Servlet instance to createowner
- The transmorpher which owns this instance
retroNull
public void retroNull()
- Description of the Method
- Overrides:
retroNull
in class Process
generateXML
public void generateXML()
- Prints the XML expression of the servlet
- Overrides:
generateXML
in class Process
createMainProcess
public TProcessComposite createMainProcess()
- Creates an execution component corresponding to this Servlet and starts the creation
of execution components of each calls of this Servlet
- Overrides:
createMainProcess
in class MainProcess
- Returns:
- an execution component
generateImport
public void generateImport(Writer file,
LinearIndexedStruct externs)
throws java.io.IOException
- Generates java code for import
- Overrides:
generateImport
in class MainProcess
- Parameters:
file
- The writer used for printing in a fileexterns
- Description of the Parameter- Throws:
java.io.IOException
- When IO errors occur
generateClassHeader
public void generateClassHeader(Writer file)
throws java.io.IOException
- Generates java code for class header
- Overrides:
generateClassHeader
in class MainProcess
- Parameters:
file
- The writer used for printing in a file- Throws:
java.io.IOException
- When IO errors occur
generateMainHeader
public void generateMainHeader(Writer file)
throws java.io.IOException
- Generates java code for main header
- Overrides:
generateMainHeader
in class MainProcess
- Parameters:
file
- The writer used for printing in a file- Throws:
java.io.IOException
- When IO errors occur
generateReadParameters
public void generateReadParameters(Writer file)
throws java.io.IOException
- Generates java code for parameters
- Overrides:
generateReadParameters
in class MainProcess
- Parameters:
file
- The writer used for printing in a file- Throws:
java.io.IOException
- When IO errors occur
generateBody
public void generateBody(Writer file,
LinearIndexedStruct externs)
throws java.io.IOException
- Generates java code for body
- Overrides:
generateBody
in class MainProcess
- Parameters:
file
- The writer used for printing in a fileexterns
- Description of the Parameter- Throws:
java.io.IOException
- When IO errors occur
generateEnd
public void generateEnd(Writer file)
throws java.io.IOException
- Generates java code for end
- Overrides:
generateEnd
in class MainProcess
- Parameters:
file
- The writer used for printing in a file- Throws:
java.io.IOException
- When IO errors occur
generateSetOutput
public void generateSetOutput(Writer file)
throws java.io.IOException
- This method allows to connect the TSerializer ,corresponding to the user request ,
to the standart output. Others are connected to null.
- Parameters:
file
- The writer used for printing in a file- Throws:
java.io.IOException
- When IO errors occur
..no bottom yet...