|
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.ApplyRuleset
public class ApplyRuleset
The ApplyRuleset Class introduces the use of a ruleset in a process body. Its structure is the following:
<apply-ruleset type="type" ref="name" id="id" in="channel">
{<with-param>}
</apply-ruleset>
Field Summary |
---|
Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl |
---|
attributes, id, inPorts, nullified, outPorts, parameters, process, visited |
Constructor Summary | |
---|---|
ApplyRuleset()
Creates a simple instance of ApplyRuleset |
|
ApplyRuleset(java.lang.String id,
java.lang.String type)
Creates an instance of ApplyRuleset with an id and a type |
|
ApplyRuleset(java.lang.String id,
java.lang.String type,
Process process)
Creates an instance of ApplyRuleset with an id, a type, a process |
|
ApplyRuleset(java.lang.String id,
java.lang.String type,
Process process,
java.lang.String reference)
Creates an instance of ApplyRuleset with an id , a type, a process and a reference |
|
ApplyRuleset(java.lang.String id,
java.lang.String type,
Process process,
java.lang.String reference,
java.lang.String strategy)
Creates an instance of ApplyRuleset with an id , a type, a process, a reference and a strategy |
Method Summary | |
---|---|
void |
createProcess(TProcessComposite currentProcess)
Creates a TApplyRuleset corresponding to this ApplyRulset object and adds it to the composite process in the execution structure. |
void |
generateJavaCode(Writer file)
Prints a java code description of this ApplyQuery instance |
void |
generateXML()
Prints an XML description of this ApplyRuleset instance |
java.lang.String |
getStrategy()
Gets the strategy attribute of the ApplyRuleset object |
void |
retroNull(PortList out,
PortList in)
Propagate the nullify of its sole output to all the input. |
void |
setStrategy(java.lang.String strategy)
Sets the strategy attribute of the ApplyRuleset object |
void |
setUp()
Description of the Method |
Methods inherited from class fr.fluxmedia.transmorpher.graph.ApplyImpl |
---|
getRef, 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, 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 ApplyRuleset()
public ApplyRuleset(java.lang.String id, java.lang.String type)
id
- The id of the instance to createtype
- The type of the instance to createpublic ApplyRuleset(java.lang.String id, java.lang.String type, Process process)
id
- The id of the instance to createtype
- The type of the instance to createprocess
- The process that owns this instancepublic ApplyRuleset(java.lang.String id, java.lang.String type, Process process, java.lang.String reference)
id
- The id of the instance to createtype
- The type of the instance to createprocess
- The process that owns this instancereference
- The name of the Ruleset called by this instancepublic ApplyRuleset(java.lang.String id, java.lang.String type, Process process, java.lang.String reference, java.lang.String strategy)
id
- The id of the instance to createtype
- The type of the instance to createprocess
- The process that owns this instancereference
- The name of the Ruleset called by this instancestrategy
- Description of the ParameterMethod Detail |
---|
public void retroNull(PortList out, PortList in)
retroNull
in class ApplyImpl
out
- Description of the Parameterin
- Description of the Parameterpublic final void setStrategy(java.lang.String strategy)
s
- The new strategy valuepublic final java.lang.String getStrategy()
public final 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 for this serializerpublic final void setUp()
Call
setUp
in interface Call
setUp
in class CallImpl
public void generateJavaCode(Writer file) throws java.io.IOException
generateJavaCode
in interface Call
generateJavaCode
in class CallImpl
file
- A writer used for printing in afile
java.io.IOException
- when an IO errors occur
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |