|
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.TProcess_Impl | +--fr.fluxmedia.transmorpher.engine.TProcessBasic | +--fr.fluxmedia.transmorpher.engine.TDispatcher | +--fr.fluxmedia.transmorpher.stdlib.TestingDispatcher
This is a simple dispatcher with test. It compares two values, if these values are equals, input is sent to the first output, if these value are not equals, input is sent to the second output. Input is sent to only one output. An empty document is sent to the other.
Field Summary | |
(package private) java.lang.String |
test
the test value |
(package private) boolean |
then
a boolean to store the test result |
(package private) java.lang.String |
value
the value to compare with the test value |
Fields inherited from class fr.fluxmedia.transmorpher.engine.TDispatcher |
contentHandlers |
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic |
finished, isThread, param, procThread, type |
Fields inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl |
debug, id, iListIn, iListOfParameters, iListOut, iName, iNbIn, iNbOut, nameFather, nameIn, nameOut |
Constructor Summary | |
TestingDispatcher(java.lang.String[] pIn,
java.lang.String[] pOut,
Parameters pParam)
the constructor |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
the characters method of content handler interface |
void |
endDocument()
the endDocument method of content handler interface |
void |
endElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name)
the endElement method of content handler interface |
void |
endPrefixMapping(java.lang.String prefix)
the endPrefixMapping method of content handler interface |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
the ignorableWhitespace method of content handler interface |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
the processingInstruction method of content handler interface |
void |
setDocumentLocator(org.xml.sax.Locator locator)
the setDocumentLocator method of content handler interface |
void |
skippedEntity(java.lang.String name)
the skippedEntity method of content handler interface |
void |
startDocument()
the startDocument method of content handler interface |
void |
startElement(java.lang.String ns,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes atts)
the start element method of content handler interface |
void |
startPrefixMapping(java.lang.String prefix,
java.lang.String uri)
the startPrefixMapping method of content handler interface |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TDispatcher |
generatePort, setContentHandler |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcessBasic |
execProcess, getFinished, getType, initParameters, run, setFinished, setThread, setType |
Methods inherited from class fr.fluxmedia.transmorpher.engine.TProcess_Impl |
bindParameters, getFatherName, getId, getIn, getIn, getIn, getName, getNameIn, getNameIn, getNameOut, getNameOut, getOut, getOut, getOut, getParameter, getParameterNames, getParameters, reset, setDebug, setFatherName, setId, setIn, setName, setOut, setParameter, setParameters |
Methods inherited from class java.lang.Object |
|
Field Detail |
java.lang.String test
java.lang.String value
boolean then
Constructor Detail |
public TestingDispatcher(java.lang.String[] pIn, java.lang.String[] pOut, Parameters pParam)
pIn
- Description of the ParameterpOut
- Description of the ParameterpParam
- Description of the ParameterMethod Detail |
public final void startElement(java.lang.String ns, java.lang.String localName, java.lang.String name, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
ns
- Description of the ParameterlocalName
- Description of the Parametername
- Description of the Parameteratts
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void endElement(java.lang.String ns, java.lang.String localName, java.lang.String name) throws org.xml.sax.SAXException
ns
- Description of the ParameterlocalName
- Description of the Parametername
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void setDocumentLocator(org.xml.sax.Locator locator)
locator
- The new documentLocator valuepublic final void startDocument() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- Description of the Exceptionpublic final void endDocument() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- Description of the Exceptionpublic final void skippedEntity(java.lang.String name) throws org.xml.sax.SAXException
name
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
target
- Description of the Parameterdata
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ch
- Description of the Parameterstart
- Description of the Parameterlength
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
ch
- Description of the Parameterstart
- Description of the Parameterlength
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void startPrefixMapping(java.lang.String prefix, java.lang.String uri) throws org.xml.sax.SAXException
prefix
- Description of the Parameteruri
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exceptionpublic final void endPrefixMapping(java.lang.String prefix) throws org.xml.sax.SAXException
prefix
- Description of the Parameterorg.xml.sax.SAXException
- Description of the Exception
|
INRIA & FluxMedia | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |