Package org.netxms.client.sensor.configs
Class SensorConfig
- java.lang.Object
-
- org.netxms.client.sensor.configs.SensorConfig
-
- Direct Known Subclasses:
DlmsConfig,LoraWanConfig
public class SensorConfig extends Object
Base for all sensor configurations This is class should be extended by any sensor config class
-
-
Constructor Summary
Constructors Constructor Description SensorConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SensorConfigcreateFromXml(Class<? extends SensorConfig> retClass, String xml)Create DCI list object from XML documentStringcreateXml()Create XML from configuration.
-
-
-
Method Detail
-
createFromXml
public static SensorConfig createFromXml(Class<? extends SensorConfig> retClass, String xml) throws Exception
Create DCI list object from XML document- Parameters:
xml- XML document- Returns:
- deserialized object
- Throws:
Exception- if the object cannot be fully deserialized
-
-