com.ibm.sensorevent.model.converter
Interface IConverter

All Known Implementing Classes:
CBEConverter, WBEConverter, XMLConverter

public interface IConverter

IConverter is the interface representing the common methods to convert ISensorEvent within Premises Server.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 ISensorEvent toIBMSensorEvent(java.lang.String xml)
          Converts an XML string to an ISensorEvent
 java.lang.String toXMLString(ISensorEvent event)
          Converts an ISensorEvent to an XML string
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

toXMLString

java.lang.String toXMLString(ISensorEvent event)
                             throws SensorEventException
Converts an ISensorEvent to an XML string

Throws:
SensorEventException

toIBMSensorEvent

ISensorEvent toIBMSensorEvent(java.lang.String xml)
                              throws SensorEventException
Converts an XML string to an ISensorEvent

Throws:
SensorEventException


Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.