INRIA & FluxMedia

fr.fluxmedia.transmorpher.TProcessFactory
Class XML_Port

java.lang.Object
  |
  +--fr.fluxmedia.transmorpher.TProcessFactory.XML_Port

public final class XML_Port
extends Object


Field Summary
static int CONNECTOR_IN
          Constant for CONNECTOR_IN
static int CONNECTOR_OUT
          Constant for CONNECTOR_OUT
static int CONTENT_DISPATCHER_IN
          Constant for CONTENT_DISPATCHER_IN
static int CONTENT_DISPATCHER_OUT
          Constant for CONTENT_DISPATCHER_OUT
static int CONTENT_HANDLER_IN
          Constant for CONTENT_HANDLER_IN
static int CONTENT_HANDLER_OUT
          Constant for CONTENT_HANDLER_OUT
static int EMPTY
          Constant for NOT AFFECTED PORT
(package private)  String iCompositeName
          The name of the port in his father, available only for composite element
(package private)  Object iContent
          The content flow of the port
(package private)  String iDTDName
          the dtd of the port
(package private)  String iEncodingType
          The encoding type of the flow
(package private)  int iInOut
          the Type of the port : IN or OUT
static int IN
          constant for IN XML_PORT
(package private)  String iName
          The name of the port
static String[] InOut
          constant for print IN && OUT XML_PORT
(package private)  int iNumPort
          The port number
(package private)  TProcess iProcessOwner
          The XML TProcess Owner
(package private)  int iTypePort
          The Type of the owner
static int OUT
          constant for OUT XML_PORT
static String[] PortType
          Constant for printing PortType
static int SERIALIZER
          Constant for XML SERIALIZER
static int TRANSFORMER_HANDLER_IN
          Constant for TRANSFORMER_HANDLER_IN
static int TRANSFORMER_HANDLER_OUT
          Constant for TRANSFORMER_HANDLER_OUT
static int XML_READER
          Constant for XML READER
 
Constructor Summary
XML_Port(String pName, TProcess pProcessOwner, ContentHandler pContentHandler, int pNumPort, int pInOut)
          One constructor
XML_Port(String pName, TProcess pProcessOwner, int pNumPort, int pInOut)
          One constructor
XML_Port(String pName, TProcess pProcessOwner, TConnector pContentHandler, int pNumPort, int pInOut)
          One constructor
XML_Port(String pName, TProcess pProcessOwner, TDispatcher pTDispatcher, int pNumPort, int pInOut)
          One constructor
XML_Port(String pName, TProcess pProcessOwner, TLoopStack1 pContentHandler, int pNumPort, int pInOut)
          One constructor
XML_Port(String pName, TProcess pProcessOwner, TransformerHandler pTransformerHandler, int pNumPort, int pInOut)
          One constructor
XML_Port(String pName, TProcess pProcessOwner, XMLReader pXMLReader, int pNumPort, int pInOut)
          One constructor
 
Method Summary
 String getCompositeName()
          Get the composite name of the port
 Object getContent()
          get the content
 String getDTD()
          get the dtd of the port
 String getEncoding()
          get the encoding type of the flow
 int getInOut()
          Get the IN/ OUT type of the port
 String getName()
          Get the name of the port
 int getNumPort()
          Get the port number
 TProcess getOwner()
          Get the owner of the port
 int getType()
          Get the owner type
static void link(XML_Port p1, XML_Port p2)
          Link to port
 void setCompositeName(String pCompositeName)
          Set the composite name of the port
 void setDTD(String pDTDName)
          set the dtd of the port
 void setEncoding(String pEncoding)
          Set the encoding type of the flow
 void setName(String pName)
          Set the composite name of the port
 String toString()
          fonction to pring Port information
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

iName

String iName
The name of the port

iCompositeName

String iCompositeName
The name of the port in his father, available only for composite element

IN

public static final int IN
constant for IN XML_PORT

OUT

public static final int OUT
constant for OUT XML_PORT

InOut

public static final String[] InOut
constant for print IN && OUT XML_PORT

XML_READER

public static final int XML_READER
Constant for XML READER

EMPTY

public static final int EMPTY
Constant for NOT AFFECTED PORT

SERIALIZER

public static final int SERIALIZER
Constant for XML SERIALIZER

TRANSFORMER_HANDLER_IN

public static final int TRANSFORMER_HANDLER_IN
Constant for TRANSFORMER_HANDLER_IN

TRANSFORMER_HANDLER_OUT

public static final int TRANSFORMER_HANDLER_OUT
Constant for TRANSFORMER_HANDLER_OUT

CONTENT_DISPATCHER_IN

public static final int CONTENT_DISPATCHER_IN
Constant for CONTENT_DISPATCHER_IN

CONTENT_DISPATCHER_OUT

public static final int CONTENT_DISPATCHER_OUT
Constant for CONTENT_DISPATCHER_OUT

CONTENT_HANDLER_IN

public static final int CONTENT_HANDLER_IN
Constant for CONTENT_HANDLER_IN

CONTENT_HANDLER_OUT

public static final int CONTENT_HANDLER_OUT
Constant for CONTENT_HANDLER_OUT

CONNECTOR_IN

public static final int CONNECTOR_IN
Constant for CONNECTOR_IN

CONNECTOR_OUT

public static final int CONNECTOR_OUT
Constant for CONNECTOR_OUT

PortType

public static final String[] PortType
Constant for printing PortType

iProcessOwner

TProcess iProcessOwner
The XML TProcess Owner

iNumPort

int iNumPort
The port number

iInOut

int iInOut
the Type of the port : IN or OUT

iTypePort

int iTypePort
The Type of the owner

iEncodingType

String iEncodingType
The encoding type of the flow

iDTDName

String iDTDName
the dtd of the port

iContent

Object iContent
The content flow of the port
Constructor Detail

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                int pNumPort,
                int pInOut)
One constructor

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                XMLReader pXMLReader,
                int pNumPort,
                int pInOut)
One constructor

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                TDispatcher pTDispatcher,
                int pNumPort,
                int pInOut)
One constructor

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                ContentHandler pContentHandler,
                int pNumPort,
                int pInOut)
One constructor

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                TConnector pContentHandler,
                int pNumPort,
                int pInOut)
One constructor

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                TLoopStack1 pContentHandler,
                int pNumPort,
                int pInOut)
One constructor

XML_Port

public XML_Port(String pName,
                TProcess pProcessOwner,
                TransformerHandler pTransformerHandler,
                int pNumPort,
                int pInOut)
One constructor
Method Detail

getName

public final String getName()
Get the name of the port

getCompositeName

public final String getCompositeName()
Get the composite name of the port

setCompositeName

public final void setCompositeName(String pCompositeName)
Set the composite name of the port

setName

public final void setName(String pName)
Set the composite name of the port

getOwner

public final TProcess getOwner()
Get the owner of the port

getInOut

public final int getInOut()
Get the IN/ OUT type of the port

getType

public final int getType()
Get the owner type

getNumPort

public final int getNumPort()
Get the port number

getContent

public final Object getContent()
get the content

setEncoding

public final void setEncoding(String pEncoding)
Set the encoding type of the flow

getEncoding

public final String getEncoding()
get the encoding type of the flow

setDTD

public final void setDTD(String pDTDName)
set the dtd of the port

getDTD

public final String getDTD()
get the dtd of the port

link

public static final void link(XML_Port p1,
                              XML_Port p2)
                       throws SAXException
Link to port

toString

public String toString()
fonction to pring Port information
Overrides:
toString in class Object

INRIA & FluxMedia

...