Package | Description |
---|---|
org.osgi.service.dmt |
Device Management Tree Package Version 2.0.
|
org.osgi.service.dmt.notification |
Device Management Tree Notification Package Version 2.0.
|
org.osgi.service.dmt.spi |
Device Management Tree SPI Package Version 2.0.
|
Modifier and Type | Field and Description |
---|---|
static DmtData |
DmtData.FALSE_VALUE
Constant instance representing a boolean
false value. |
static DmtData |
DmtData.NULL_VALUE
Constant instance representing a leaf node of
null format. |
static DmtData |
DmtData.TRUE_VALUE
Constant instance representing a boolean
true value. |
Modifier and Type | Method and Description |
---|---|
DmtData |
MetaNode.getDefault()
Get the default value of this node if any.
|
DmtData |
DmtSession.getNodeValue(java.lang.String nodeUri)
Get the data contained in a leaf or interior node.
|
DmtData[] |
MetaNode.getValidValues()
Return an array of DmtData objects if valid values are defined for the
node, or
null otherwise. |
Modifier and Type | Method and Description |
---|---|
void |
DmtSession.createLeafNode(java.lang.String nodeUri,
DmtData value)
Create a leaf node with a given value and the default MIME type.
|
void |
DmtSession.createLeafNode(java.lang.String nodeUri,
DmtData value,
java.lang.String mimeType)
Create a leaf node with a given value and MIME type.
|
boolean |
MetaNode.isValidValue(DmtData value)
Checks whether the given value is valid for this node.
|
void |
DmtSession.setNodeValue(java.lang.String nodeUri,
DmtData data)
Set the value of a leaf or interior node.
|
Modifier and Type | Method and Description |
---|---|
DmtData |
AlertItem.getData()
Get the data associated with the alert item.
|
Constructor and Description |
---|
AlertItem(java.lang.String[] source,
java.lang.String type,
java.lang.String mark,
DmtData data)
Create an instance of the alert item, specifying the source node URI as
an array of path segments.
|
AlertItem(java.lang.String source,
java.lang.String type,
java.lang.String mark,
DmtData data)
Create an instance of the alert item.
|
Modifier and Type | Method and Description |
---|---|
DmtData |
ReadableDataSession.getNodeValue(java.lang.String[] nodePath)
Get the data contained in a leaf or interior node.
|
Modifier and Type | Method and Description |
---|---|
void |
ReadWriteDataSession.createLeafNode(java.lang.String[] nodePath,
DmtData value,
java.lang.String mimeType)
Create a leaf node with a given value and MIME type.
|
void |
ReadWriteDataSession.setNodeValue(java.lang.String[] nodePath,
DmtData data)
Set the value of a leaf or interior node.
|
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0