com.ibm.sensorevent.model.converter
Class TypedMapConverter
java.lang.Object
com.ibm.sensorevent.model.generic.converter.GenericConverter
com.ibm.sensorevent.model.converter.Converter
com.ibm.sensorevent.model.converter.MapConverter
com.ibm.sensorevent.model.converter.TypedMapConverter
- All Implemented Interfaces:
- IGenericConverter, java.io.Serializable
public class TypedMapConverter
- extends MapConverter
The TypedMapConverter class converts ISensorEvents and java.util.Map objects to other
formats using the correct types. Specifically, use the MapConverter class to convert:
- ISensorEvent to Map
- Map to ISensorEvent
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypedMapConverter
public TypedMapConverter()
- Constructs a MapConverter
getInstance
public static IGenericConverter getInstance()
- Factory method to create a MapConverter instance
toIBMSensorEvent
public ISensorEvent toIBMSensorEvent(java.util.Map map)
throws SensorEventException
- Converts a java.util.Map to an ISensorEvent
- Overrides:
toIBMSensorEvent
in class MapConverter
- Throws:
SensorEventException
processTypedMap
protected void processTypedMap(IGroup group,
java.util.Map map)
throws SensorEventException
- Throws:
SensorEventException
Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.