INRIA & FluxMedia

fr.fluxmedia.transmorpher.graph
Class ApplyQuery

java.lang.Object
  |
  +--java.util.Observable
        |
        +--fr.fluxmedia.transmorpher.graph.CallImpl
              |
              +--fr.fluxmedia.transmorpher.graph.ApplyImpl
                    |
                    +--fr.fluxmedia.transmorpher.graph.ApplyQuery
All Implemented Interfaces:
Call, java.io.Serializable

public class ApplyQuery
extends ApplyImpl

The ApplyQuery Class introduces the use of a query in a process body. Its structure is the following:
<apply-query type="type" ref="name" id="id" in="channel">
{<with-param>}
</apply-query>

Since:
jdk 1.3 / SAX 2.0
Author:
Jerome.Euzenat@inrialpes.fr
See Also:
Serialized Form

Fields inherited from class fr.fluxmedia.transmorpher.graph.CallImpl
attributes, id, inPorts, nullified, outPorts, parameters, process, visited
 
Fields inherited from class java.util.Observable
changed, obs
 
Constructor Summary
ApplyQuery()
          Creates a simple instance of ApplyQuery
ApplyQuery(java.lang.String id, java.lang.String type)
          Creates an instance of ApplyQuery with an id and a type
ApplyQuery(java.lang.String id, java.lang.String type, Process process)
          Creates an instance of ApplyQuery with an id ,a type and a process
ApplyQuery(java.lang.String id, java.lang.String type, Process process, java.lang.String reference)
          Creates an instance of ApplyQuery with an id ,a type, a process and a reference
 
Method Summary
 void createProcess(TProcessComposite currentProcess)
          Creates a TApplyQuery corresponding to this ApplyQuery 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 ApplyQuery instance
 void retroNull(PortList out, PortList in)
          Propagate the nullify of its sole output to all the input.
 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, registerNatives, wait, wait, wait
 

Constructor Detail

ApplyQuery

public ApplyQuery()
Creates a simple instance of ApplyQuery

ApplyQuery

public ApplyQuery(java.lang.String id,
                  java.lang.String type)
Creates an instance of ApplyQuery with an id and a type
Parameters:
id - The id of the instance to create
type - The type of the instance to create

ApplyQuery

public ApplyQuery(java.lang.String id,
                  java.lang.String type,
                  Process process)
Creates an instance of ApplyQuery with an id ,a type and a process
Parameters:
id - The id of the instance to create
type - The type of the instance to create
process - The process that owns this instance

ApplyQuery

public ApplyQuery(java.lang.String id,
                  java.lang.String type,
                  Process process,
                  java.lang.String reference)
Creates an instance of ApplyQuery with an id ,a type, a process and a reference
Parameters:
id - The id of the instance to create
type - The type of the instance to create
process - The process that owns this instance
reference - The name of the Query called by this instance
Method Detail

retroNull

public void retroNull(PortList out,
                      PortList in)
Propagate the nullify of its sole output to all the input.
Overrides:
retroNull in class ApplyImpl
Parameters:
out - Description of the Parameter
in - Description of the Parameter

generateXML

public void generateXML()
Prints an XML description of this ApplyQuery instance
Overrides:
generateXML in class CallImpl

createProcess

public final void createProcess(TProcessComposite currentProcess)
Creates a TApplyQuery corresponding to this ApplyQuery object and adds it to the composite process in the execution structure.
Overrides:
createProcess in class CallImpl
Parameters:
currentProcess - the container for this serializer

setUp

public void setUp()
Description copied from interface: Call
Description of the Method
Overrides:
setUp in class CallImpl

generateJavaCode

public void generateJavaCode(Writer file)
                      throws java.io.IOException
Prints a java code description of this ApplyQuery instance
Overrides:
generateJavaCode in class CallImpl
Parameters:
file - A writer used for printing in afile
Throws:
java.io.IOException - when an IO errors occur

INRIA & FluxMedia

..no bottom yet...