org.isam.exehda.services.ctxm
Class SingleSensorChainFactory

java.lang.Object
  |
  +--org.isam.exehda.services.ctxm.SingleSensorChainFactory
All Implemented Interfaces:
ContextChainFactory

class SingleSensorChainFactory
extends java.lang.Object
implements ContextChainFactory

Factory for context chains that are able to filter data from a single raw sensor.

Accepted context definition idiom:

   <CONTEXT n="ctxname">
     <STATES>
       <STATE n="s1"/>
       <STATE n="s2"/>
       <STATE n="s3"/>
       <STATE n="unknow"/>
     <STATES>

     <INDEX>
       <SENSOR n="sname"/>
     </INDEX>

     <RANGES>
       <RANGE ub="1.0" state="s1"/>
       <RANGE olb="1.0" ub="2.0" state="s2"/>
       <RANGE olb="2.0" oub="3.0" state="s3"/>
       <DEFAULT state="unknown"/>
     </RANGES>
     
   </CONEXT>
 

Version:
$Date: 2004/12/31 21:19:57 $ $Revision: 1.2 $
Author:
last modified by $Author: lucc $

Constructor Summary
(package private) SingleSensorChainFactory()
           
 
Method Summary
 ContextChain createChain(java.lang.String ctxdef)
          Create a context chain
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleSensorChainFactory

SingleSensorChainFactory()
Method Detail

createChain

public ContextChain createChain(java.lang.String ctxdef)
Create a context chain

Specified by:
createChain in interface ContextChainFactory
Parameters:
ctxdef - a String value
Returns:
a ContextChain value
To do:
Throw InvallidContextDefinitionException