|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
fr.fluxmedia.transmorpher.graph.CallImpl
fr.fluxmedia.transmorpher.graph.ApplyImpl
fr.fluxmedia.transmorpher.graph.ApplyExternal
public class ApplyExternal
This class allows to instanciate a call for an object able to apply a transformation on the SAX events flow.
<apply-external id="FormatHTML" type="xslt" in="X2" out="Z34">
<with-param name="file">../samples/biblio/xslt/form-hauth.xsl</with-param>
</apply-external>
Field Summary |
---|
Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
attributes, id, inPorts, nullified, outPorts, parameters, process, visited |
Constructor Summary | |
---|---|
ApplyExternal()
Creates a simple instance of ApplyExternal |
|
ApplyExternal(java.lang.String id,
java.lang.String type)
Creates an instance of ApplyExternal with an id and a type |
|
ApplyExternal(java.lang.String id,
java.lang.String type,
Process process)
Creates an instance of ApplyExternal with an id,a type and a process |
|
ApplyExternal(java.lang.String id,
java.lang.String type,
java.lang.String file)
Creates an instance of ApplyExternal with an id,a type and a file name |
|
ApplyExternal(java.lang.String id,
java.lang.String type,
java.lang.String file,
Process process)
Creates an instance of ApplyExternal with an id,a type, a file name and a process |
|
ApplyExternal(java.lang.String id,
java.lang.String type,
java.lang.String file,
Process process,
int in,
int out)
Creates an instance of ApplyExternal with an id,a type, a file name, a process, a number of in and a number of out |
Method Summary | |
---|---|
void |
createProcess(TProcessComposite currentProcess)
Creates a new TApplyProcess corresponding to this ApplyProcess instance |
void |
generateJavaCode(Writer file)
Generates a java code description of this instance |
void |
generateXML()
Prints an XML description of this instance |
void |
setFile(java.lang.String uri)
Sets the file attribute of the ApplyExternal object |
Methods inherited from class fr.fluxmedia.transmorpher.graph.ApplyImpl |
---|
getRef, retroNull, setRef |
Methods inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
addIn, addIn, addOut, addOut, clearNull, clearVisited, generateParameters, generatePorts, getAttributes, getId, getParameters, getProcess, getType, inPorts, newProcess, outPorts, retroNull, setId, setParameters, setType, setUp, toString, 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, wait, wait, wait |
Constructor Detail |
---|
public ApplyExternal()
public ApplyExternal(java.lang.String id, java.lang.String type)
id
- The id of this instancetype
- The type of this instancepublic ApplyExternal(java.lang.String id, java.lang.String type, java.lang.String file)
id
- The id of this instancetype
- The type of this instancefile
- The file namepublic ApplyExternal(java.lang.String id, java.lang.String type, Process process)
id
- The id of this instancetype
- The type of this instanceprocess
- The process that owns this instancepublic ApplyExternal(java.lang.String id, java.lang.String type, java.lang.String file, Process process)
id
- The id of this instancetype
- The type of this instancefile
- The file nameprocess
- The process that owns this instancepublic ApplyExternal(java.lang.String id, java.lang.String type, java.lang.String file, Process process, int in, int out)
id
- The id of this instancetype
- The type of this instancefile
- The file nameprocess
- The process that owns this instancein
- The umber of in portsout
- The number of out portsMethod Detail |
---|
public void setFile(java.lang.String uri)
uri
- The new file valuepublic void generateXML()
generateXML
in interface Call
generateXML
in class CallImpl
public final void createProcess(TProcessComposite currentProcess)
createProcess
in interface Call
createProcess
in class CallImpl
currentProcess
- The container of this component.public void generateJavaCode(Writer file) throws java.io.IOException
generateJavaCode
in interface Call
generateJavaCode
in class CallImpl
file
- a writer used for printing the code in a file
java.io.IOException
- when IO errors occur
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |