<processor id="processName" context="processNameCtxt implClass="myPackage.MyProcessorClass refFlow="genericFlow"> <refFormat name="firstFormat" refId="format1"/> <refFormat name="secondFormat" refId="format2"/> <iniValue name="dataFieldPath" value="iniValueForDataField"/> ... </processor> <flow id="genericFlow"> <state id="stateName" type="stateType" typeIdInfo="stateTypeIdInfo"> <entryActions> <actionTag actionAttribute1="value" actionAttribute2="value" context="contextName"> <conditions> <cond1 onTrue="continue" onFalse="skipAction"/> <cond2 onTrue="continue" onFalse="skipAllActions"/> <cond3 onTrue="continue" onFalse="skipConditions"/> <cond4 onTrue="continue" onFalse="abortProcess"/> <cond5 onTrue="continue" onFalse="execAndChangeState(stateId)"/> <cond6 onTrue="continue" onFalse="changeState(stateId)"/> </conditions> </actionTag> </entryActions> <transitions> <transition id="eventId" propagateEvent="true|false"> <actions> <actionTag actionAttribute1="value" actionAttribute2="value"> <conditions> <cond1 onTrue="continue" onFalse="skipAction"/> <cond2 onTrue="changeState(stateId)" onFalse="skipAction"/> </conditions> </actionTag> </actions> </transition> </transitions> </state> ... <! more states> </flow> <field id="Data3" value="111" /> <field id="Data4" /> <kColl id="Data"> <field id="Data1" /> <field id="Data2" /> <refData refId="Data3" /> <refData refId="Data4" /> <refData refId="Data5" /> </kColl> <fmtDef id="format1"> <record> <fString dataName="Data1" /> <delim delimChar="#"/> <fString dataName="Data3" /> <delim delimChar="#"/> <refFmt refId = "thirdFormat" /> </record> </fmtDef> <MyService id="theServiceName" /> <context id="processNameCtxt" type="proc" parent="workstation"> <refKColl refId="Data" /> <refService refId="theServiceName" alias="theService" type="test" /> </context>
<field id="modularity" value="modularityType" />
Where modularityType can be:
<kColl id="files"> <field id="data" value="DSEDATA.XML" /> <field id="format" value="DSEFMTS.XML" /> <field id="context" value="DSECTXT.XML" /> <field id="service" value="DSESRVCE.XML" /> <field id="processor" value="DSEPROC.XML" /> <kColl id="processors" <procDef id="procName1" value="procFile1.xxx"path="aPath1" /> <procDef id="procName2" value="procFile2.xxx" path="aPath2"/> ... <procDef id="procNameN" value="procFileN.xxx" path="aPathN"/></kColl> ...
Where:
The following example contains many ways of defining the location of the self-defined processors. See the notes below the example for the effect of defining the tag in its way.
<kColl id="processors"> [1] <procDef id="proc1" value="file1.xml" /> [2] <procDef id="proc2" value="file2.xml" path="c:\dse\client\procs" /> [2] <procDef id="proc3" value="file2.xml" path="c:\dse\client\procs" /> [3] <procDef id="proc4" /> [4] <procDef id="proc5" value="file5.xml" path="http://127.0.0.1/dse/client/procs" /> [5] <procDef id="proc6" value="file6.xml" path="c:\dse\client\procs.zip" /> [6] <procDef id="proc7" value="file7.xml" path="fromJAR" /> </kColl>
<kColl id="paths"> <field id="entities" value="aPath" />
Where aPath can be: