INRIA & FluxMedia

fr.fluxmedia.transmorpher.TProcessFactory
Class TQuery

fr.fluxmedia.transmorpher.TProcessFactory.TQuery
All Implemented Interfaces:
TProcess

public final class TQuery
implements TProcess


Field Summary
private static String DEFAULT_PARSER_NAME
           
(package private)  ReadWrite FileRW
           
(package private)  XML_Port[] iListIn
          The In port
(package private)  XML_Port[] iListOut
          The out PORT
(package private)  String iName
          The name of the process
(package private)  int iNbIn
          the current In port
(package private)  int iNbOut
          The List of out port
(package private)  SAXParser iParser
          XML Parser
(package private)  String iQueryFilename
           
(package private)  String iRoot
           
(package private)  TTransformer iTransformer
           
(package private)  QueryParser qParser
           
 
Constructor Summary
TQuery(String type, String[] pIn, String[] pOut, String pQueryFilename)
          The instance constructor
 
Method Summary
 TProcess Copy(TProcessComposite vFather)
          Create a copy of this element in the composite given in parameter
 void endElement(String pName)
          Call by the XML parser at the begining of an element
 XML_Port[] getIn()
          Get the In ports
 XML_Port getIn(int i)
          Get an In port
 String getName()
          Get the name of the process
 XML_Port[] getOut()
          Get the Out Ports
 XML_Port getOut(int i)
          Get an Out Port
 TProcess internalCopy()
          Copy the Query. only copy the transformer box, and use the same xsl file
 void setIn(int i, XML_Port pFileIn)
           
 void setName(String pName)
          Set the name of the process
 void setOut(int i, XML_Port pFileOut)
          Set an Out Port
 void startElement(String pName, Attributes attrs)
          Call by the XML parser at the begining of an element
 

Field Detail

iListIn

XML_Port[] iListIn
The In port

iNbIn

int iNbIn
the current In port

iListOut

XML_Port[] iListOut
The out PORT

iNbOut

int iNbOut
The List of out port

iName

String iName
The name of the process

DEFAULT_PARSER_NAME

private static final String DEFAULT_PARSER_NAME

iParser

SAXParser iParser
XML Parser

iTransformer

TTransformer iTransformer

qParser

QueryParser qParser

FileRW

ReadWrite FileRW

iQueryFilename

String iQueryFilename

iRoot

String iRoot
Constructor Detail

TQuery

public TQuery(String type,
              String[] pIn,
              String[] pOut,
              String pQueryFilename)
       throws TransformerException,
              TransformerConfigurationException,
              SAXException,
              IOException
The instance constructor
Throws:
TransformerException -  
TransformerConfigurationException -  
SAXException -  
IOException -  
Method Detail

startElement

public final void startElement(String pName,
                               Attributes attrs)
Call by the XML parser at the begining of an element

endElement

public final void endElement(String pName)
Call by the XML parser at the begining of an element

getName

public final String getName()
Get the name of the process
Specified by:
getName in interface TProcess

setName

public final void setName(String pName)
Set the name of the process
Specified by:
setName in interface TProcess

setIn

public final void setIn(int i,
                        XML_Port pFileIn)
Specified by:
setIn in interface TProcess

setOut

public final void setOut(int i,
                         XML_Port pFileOut)
Set an Out Port
Specified by:
setOut in interface TProcess

getIn

public final XML_Port getIn(int i)
Get an In port
Specified by:
getIn in interface TProcess

getOut

public final XML_Port getOut(int i)
Get an Out Port
Specified by:
getOut in interface TProcess

getIn

public final XML_Port[] getIn()
Get the In ports
Specified by:
getIn in interface TProcess

getOut

public final XML_Port[] getOut()
Get the Out Ports
Specified by:
getOut in interface TProcess

Copy

public final TProcess Copy(TProcessComposite vFather)
Create a copy of this element in the composite given in parameter
Specified by:
Copy in interface TProcess

internalCopy

public final TProcess internalCopy()
Copy the Query. only copy the transformer box, and use the same xsl file
Specified by:
internalCopy in interface TProcess

INRIA & FluxMedia

...