public class DeviceSpecificationUtils
extends java.lang.Object
IDeviceSpecification objects.| Constructor and Description |
|---|
DeviceSpecificationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static IDeviceElement |
getDeviceElementByPath(IDeviceSpecification specification,
java.lang.String path)
Get an
IDeviceElement located at the given path. |
static IDeviceSlot |
getDeviceSlotByPath(IDeviceSpecification specification,
java.lang.String path)
Get an
IDeviceSlot given relative path in
IDeviceElementSchema. |
public static IDeviceSlot getDeviceSlotByPath(IDeviceSpecification specification, java.lang.String path) throws SiteWhereException
IDeviceSlot given relative path in
IDeviceElementSchema.specification - path - SiteWhereExceptionpublic static IDeviceElement getDeviceElementByPath(IDeviceSpecification specification, java.lang.String path)
IDeviceElement located at the given path. Return null if
not found.specification - path -