|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.fluxmedia.transmorpher.engine.XML_Port
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) javax.xml.transform.sax.TransformerHandler |
handler
|
(package private) java.lang.String |
iCompositeName
The name of the port in his father, available only for composite element |
(package private) java.lang.Object |
iContent
The content flow of the port |
(package private) java.lang.String |
iDTDName
the dtd of the port |
(package private) java.lang.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) java.lang.String |
iName
The name of the port |
static java.lang.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 |
NULL
Constant for NULL |
static int |
OUT
constant for OUT XML_PORT |
static java.lang.String[] |
PortType
Constant for printing PortType |
static int |
SERIALIZER
Constant for XML SERIALIZER |
(package private) javax.xml.transform.sax.SAXTransformerFactory |
tfactory
|
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(java.lang.String pName,
TProcess pProcessOwner,
org.xml.sax.ContentHandler pContentHandler,
int pNumPort,
int pInOut)
One constructor for a content handler |
|
XML_Port(java.lang.String pName,
TProcess pProcessOwner,
int pNumPort,
int pInOut)
One constructor |
|
XML_Port(java.lang.String pName,
TProcess pProcessOwner,
TDispatcher pTDispatcher,
int pNumPort,
int pInOut)
One constructor for TDispatcher ports |
|
XML_Port(java.lang.String pName,
TProcess pProcessOwner,
TLoop pContentHandler,
int pNumPort,
int pInOut)
One constructor for TLoop ports |
|
XML_Port(java.lang.String pName,
TProcess pProcessOwner,
TMerger pContentHandler,
int pNumPort,
int pInOut)
One constructor for TMerger ports |
|
XML_Port(java.lang.String pName,
TProcess pProcessOwner,
javax.xml.transform.sax.TransformerHandler pTransformerHandler,
int pNumPort,
int pInOut)
One constructor for TransformerHandler ports |
|
XML_Port(java.lang.String pName,
TProcess pProcessOwner,
org.xml.sax.XMLReader pXMLReader,
int pNumPort,
int pInOut)
One constructor for XMLReader ports |
Method Summary | |
java.lang.String |
getCompositeName()
Get the composite name of the port |
java.lang.Object |
getContent()
get the content |
java.lang.String |
getDTD()
get the dtd of the port |
java.lang.String |
getEncoding()
get the encoding type of the flow |
int |
getInOut()
Get the IN/ OUT type of the port |
java.lang.String |
getName()
Get the name of the port |
int |
getNumPort()
Get the port number |
TProcess |
getOwner()
Get the owner of the port |
protected javax.xml.transform.sax.SAXTransformerFactory |
getTransformerFactory()
|
int |
getType()
Get the owner type |
static void |
link(XML_Port p1,
XML_Port p2)
Link two ports |
void |
setCompositeName(java.lang.String pCompositeName)
Set the composite name of the port |
void |
setContent(java.lang.Object contenthandler)
Sets the content attribute of the XML_Port object |
void |
setDTD(java.lang.String pDTDName)
set the dtd of the port |
void |
setEncoding(java.lang.String pEncoding)
Set the encoding type of the flow |
void |
setName(java.lang.String pName)
Set the composite name of the port |
java.lang.String |
toString()
fonction to pring Port information |
Methods inherited from class java.lang.Object |
|
Field Detail |
javax.xml.transform.sax.TransformerHandler handler
javax.xml.transform.sax.SAXTransformerFactory tfactory
java.lang.String iName
java.lang.String iCompositeName
public static final int IN
public static final int OUT
public static final java.lang.String[] InOut
public static final int XML_READER
public static final int EMPTY
public static final int SERIALIZER
public static final int TRANSFORMER_HANDLER_IN
public static final int TRANSFORMER_HANDLER_OUT
public static final int CONTENT_DISPATCHER_IN
public static final int CONTENT_DISPATCHER_OUT
public static final int CONTENT_HANDLER_IN
public static final int CONTENT_HANDLER_OUT
public static final int CONNECTOR_IN
public static final int CONNECTOR_OUT
public static final int NULL
public static final java.lang.String[] PortType
TProcess iProcessOwner
int iNumPort
int iInOut
int iTypePort
java.lang.String iEncodingType
java.lang.String iDTDName
java.lang.Object iContent
Constructor Detail |
public XML_Port(java.lang.String pName, TProcess pProcessOwner, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpNumPort
- the number id of the portpInOut
- the type of the port : 0 for IN 1 for OUTpublic XML_Port(java.lang.String pName, TProcess pProcessOwner, org.xml.sax.XMLReader pXMLReader, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpXMLReader
- The XMLReader.pNumPort
- The number id of the portpInOut
- The type of the port : 0 for IN 1 for OUTpublic XML_Port(java.lang.String pName, TProcess pProcessOwner, TDispatcher pTDispatcher, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpTDispatcher
- The TDispatcherpNumPort
- The number id of the portpInOut
- The type of the port : 0 for IN 1 for OUTpublic XML_Port(java.lang.String pName, TProcess pProcessOwner, org.xml.sax.ContentHandler pContentHandler, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpContentHandler
- The Content HandlerpNumPort
- The number id of the portpInOut
- The type of the port : 0 for IN 1 for OUTpublic XML_Port(java.lang.String pName, TProcess pProcessOwner, TMerger pContentHandler, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpContentHandler
- The TMergerpNumPort
- The number id of the portpInOut
- The type of the port : 0 for IN 1 for OUTpublic XML_Port(java.lang.String pName, TProcess pProcessOwner, TLoop pContentHandler, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpContentHandler
- The TLooppNumPort
- The number id of the portpInOut
- The type of the port : 0 for IN 1 for OUTpublic XML_Port(java.lang.String pName, TProcess pProcessOwner, javax.xml.transform.sax.TransformerHandler pTransformerHandler, int pNumPort, int pInOut)
pName
- The name of the port.pProcessOwner
- The owner of the portpTransformerHandler
- The TransmorpherHandlerpNumPort
- The number id of the portpInOut
- The type of the port : 0 for IN 1 for OUTMethod Detail |
public final java.lang.String getName()
public final java.lang.String getCompositeName()
public final void setCompositeName(java.lang.String pCompositeName)
pCompositeName
- The new compositeName valuepublic final void setName(java.lang.String pName)
pName
- The name of the port. The new name valuepublic final TProcess getOwner()
public final int getInOut()
public final int getType()
public final int getNumPort()
public final java.lang.Object getContent()
public final void setContent(java.lang.Object contenthandler)
contenthandler
- The new content valuepublic final void setEncoding(java.lang.String pEncoding)
pEncoding
- The new encoding valuepublic final java.lang.String getEncoding()
public final void setDTD(java.lang.String pDTDName)
pDTDName
- The new DTD valuepublic final java.lang.String getDTD()
public static final void link(XML_Port p1, XML_Port p2) throws TMException, org.xml.sax.SAXException
p1
- An XML_Portp2
- Another XML_Portorg.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.public java.lang.String toString()
toString
in class java.lang.Object
protected javax.xml.transform.sax.SAXTransformerFactory getTransformerFactory()
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |